Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 11:56:41 +0200
From:      "Vladimir N.Silyaev" <>
To:        Doug Poland <>
Cc:, freebsd-database@FreeBSD.ORG
Subject:   Re: Sybase saga continues...
Message-ID:  <>
References:  <000001be8db4$dbe1ca70$b16f6478@egypt>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Doug Poland wrote:

> The "strange" thing is, I do a "ps" and the dataserver is running and has
> 16MB of memory allocated and using about 7MB.
> I tried to talk to the dataserver using isql -SSYBASE -Usa -P but got a
> connection timeout.
> On the successful side, I did configure the backup server.  I went through
> the whole configuration and it booted!  Unfortunately, a message similar to
>         "Warning" this process needs 1024 file descriptors but only has 512"
> appeared.
> So I'm wondering, where do I go now?  Am I still seeing a shared memory
> problem?
No, You are already solved shared memory problem.

> Does the files descriptors offer a clue?

For example via sysctl interface:
sysctl -w kern.maxfiles=1536 && sysctl -w kern.maxfilesperproc=1024 && \
echo -n 'Change FileDescriptor '

The rest of our problems there is a SIGIO problem,  the next instruction 
intend for solve this problem. This is my second post of this text, 
previous was delivered without subj.

Please follow the next instruction.
1. Create file
pid=`ps -ax|awk  '/dataserver/&&!/awk/{print $1;exit;}'`
echo dataserver pid is $pid
while true; do
 kill -IO $pid || break
2. At the stage of the installing Sybase SQL, when sybinit say:

Running task: update the SQL Server runserver file.
Task succeeded: update the SQL Server runserver file.
Running task: boot the SQL Server.
waiting for server 'SYBASE' to boot...

launch the script, the sybinit must print:

Task succeeded: boot the SQL Server.
Running task: create the sybsystemprocs database.

3. When sybinit finished run isql -U sa,  
enter password [empty], and after isql prompt:

4. Shutdown dataserver:  kill <dataserver pid>.

5. Create script
use POSIX;

exec $ARGV[0]

6. Open in the editor file ${SYBASE}/install/RUN_SYBASE and
add the 'exec' word at the begin line where dataserver started,
for example:
#  interfaces:                    /opt/sybase
exec /opt/sybase/bin/dataserver \

7. Launch install/RUN_SYBASE and repeat step 3.

This is a symptom of the problem, which are hacked with

With best regards, V.Silyaev.

To Unsubscribe: send mail to
with "unsubscribe freebsd-database" in the body of the message

Want to link to this message? Use this URL: <>