Re: MsSQL from FreeBSD
| From: | Brian Clark | Date: | Fri, 28 Dec 2001 15:11:41 +0000 |
| Subject: | Re: MsSQL from FreeBSD | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78945@lists.php.net to get a copy of this message | ||
* Valentin V. Petruchek (petruchek@zsu.zp.ua) [Dec 28. 2001 04:51]:
> > OK, we're talking about Linux, right?
> No ;) FreeBsd 4.x don't know exactly about x
Duh, that was stupid of me. It's right there in the subject.
> > I'll bet
cat /proc/sys/fs/file-max gives you 4096
OK, then give this a try:
sysctl -w kern.maxfiles=8192
sysctl -w kern.maxfilesperproc=8192
(or however high you want to go)
And it may need a reboot; I dont know if that would take effect
immediately (check it with ulimit -n after you do it). If it works,
you might have to stick that in rc.local in order to get it to stick
whenever you reboot.
Again, I don't know if that'll have any effect..
--
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
One World, One Web, One Program.