On Feb 26, 2010, at 6:22 AM, Caristan William wrote:

Hi
I'm trying to run about one thousand webobjects instances on Mac OSX Server 10.5.3.

Just curious: how many machines is that spread over?


Then i recompiled apache adaptor and setup wotaskd with - WOWorkerThreadCountMax.
I have
root# sysctl -n kern.maxproc
2500
root# sysctl -n kern.maxprocperuid
1000
But I have a last problem with max user processes at system level for appserver user. I setup ulimit -u in /System/Library/WebObjects/JavaApplications/ wotaskd.woa/wotaskd wich is run as appserver user. But this user is not allowed to setup more than ulimit -u 532:
root# sudo -u appserver ulimit -u 533
/usr/bin/ulimit: line 4: ulimit: max user processes: cannot modify limit: Operation not permitted
root# sudo -u appserver ulimit -u 532
root#
It's possible in current shell if it's allowed by root nefore:
root# ulimit -u 1024
root# sudo -u appserver ulimit -u 1024
root#
Does anyone know to setup system to launch wotaskd with such ulimit - u?


I'd look at one of two things:
- modify the appserver user configuration to allow this (if possible)
- change the launch daemon files to run it as root


Chuck


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to