The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

1) If I run dbsrv12.exe -c 30%% then

a) For 12.0.1.3537 - OK

    2: -c
3: 30%%
...
SQL Anywhere Network Server Version 12.0.1.3537
...
Running Windows 7 Build 7601 Service Pack 1 on X86_64
Server built for X86_64 processor architecture
2511152K of memory used for caching
Minimum cache size: 2511152K, maximum cache size: 7529760K
b) For 12.0.1.4178: Invalid database server command line error

2) If I run dbsrv12.exe -c 30% then
a) For 12.0.1.3537 - OK
b) For 12.0.1.4178 - OK

    2: -c
3: 30%
...
SQL Anywhere Network Server Version 12.0.1.4178
...
Running Windows 7 Build 7601 Service Pack 1 on X86_64
Server built for X86_64 processor architecture
2511152K of memory used for caching
Minimum cache size: 2511152K, maximum cache size: 7529760K
Is it bug? For 12.0.1.3537 or for 12.0.1.4178 ?

asked 30 Mar '15, 07:56

Ilia63's gravatar image

Ilia63
706252947
accept rate: 16%

edited 30 Mar '15, 11:18

Mark%20Culp's gravatar image

Mark Culp
22.3k9129262


You want one "%" sign to make it to the server. If the server is invoked from a shell (cmd.exe on Windows), "%%" gets converted to "%" by the shell because "%" is used for environment variable substitutions. You appear to be invoking the server without using a shell so you only want -c 30%.

To avoid issues with shells and %, you could just use -c 30p.

-john.

permanent link

answered 30 Mar '15, 08:05

John%20Smirnios's gravatar image

John Smirnios
8.7k377106
accept rate: 40%

2

Fortunately, "p" in this case doesn't stand for "petabytes." That would be a big cache.

(02 Apr '15, 14:41) Phil Mitchell
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×404
×5

question asked: 30 Mar '15, 07:56

question was seen: 329 times

last updated: 02 Apr '15, 14:41