Whoah.  It appears that some system along the way (gmail, petidomo?)
interpreted my variables, backslashes, and backticks in a shell and
the results got put in the message.

Below is a reformatted version that hopefully won't have this problem.

- Dimitri

 
Hello,

I'm new to OpenPKG, but I like what I see so far.

I've got a question about the right way to handle the following situation:

In my mysql error log, I get the following message:

Warning: setrlimit couldn't increase number of open files to more than
1024 (request: 5010)

The MySQL docs recommend that I set the ulimit in mysqld_safe.  I see
the option for this in that file: --open-files.  So, I figure I can
change this in etc/rc.d/rc.mysql:

    cd /openpkg
     /openpkg/bin/mysqld_safe
         --mysqld=mysqld
         --open-files=6144
         --pid-file="\$mysql_pid_file"
         --err-log="\$mysql_err_log"

But it doesn't seem to do any good.  I still get the same mysql error
message.  My OS file limit is set much higher, and I don't have enough
open processes that they would all be used already.

An "su - openpkg-r" and "ulimit -a" shows that:

open files                    (-n) 6144

Does anyone have any hints as to how I can solve this problem?

BTW,

in etc/rc.d/rc.mysql:

--err-log="\$mysql_err_log"

was

--err-log="\$mysql_log_err"

Before I changed it.  mysql_log_err is not defined, so I took this to
be a bug and corrected it.

My mysql version is: mysql-4.0.21-2.2.1
OpenPKG version: openpkg-2.2.0-2.2.0

Thanks,

- Dimitri
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [email protected]

Reply via email to