Re: 501 user for wo apps?
Re: 501 user for wo apps?
- Subject: Re: 501 user for wo apps?
- From: Jesse Tayler <email@hidden>
- Date: Tue, 12 Apr 2011 15:26:16 -0400
Sigh. It must be one of those days!
The memory now seems 'ok enough' but I'm back to the weird permission error?
call process [/home/appserver/bin/imagesize.sh 76 jpg]
callUnixProcess [/home/appserver/bin/imagesize.sh 76 jpg]
java.io.IOException: Cannot run program "/home/appserver/bin/imagesize.sh": java.io.IOException: error=13, Permission denied
Isn't that execution perms on the UNIX file?
I tried chmod 777 and I still get permission denied...
Do I need to open a shell like "csh /home/appserver/bin/imagesize.sh 76 jpg" ?
I'm not certain I've ever had this working or not and so maybe it is my command this time?
On Apr 12, 2011, at 2:13 PM, Pascal Robert wrote:
>
> Le 2011-04-12 à 13:56, Jesse Tayler a écrit :
>
>>
>> what should I set my memory to in Javamonitor then? something very low?
>
> Well, it depends if you actually need to start your app with 128 MB of RAM :-) Maybe you could start it with only the maximum setting (-Xmx256m) while not setting the minimum so that your instances use 32 MB to start with.
>
> But I strongly suggest that you monitor your RAM usage or else you might have problems with both of your instances are reaching 256 MB. Adding a swap space would help in those cases, but even there if your swap usage goes over 50%.
>
> And I suggest that you restart your apps every day, because at the OS level, even if your apps get garbage collected, the RAM usage at the OS level will not go down. For example, if your app is reaching near 256 MB of RAM because of a "big" request, and 10 minutes later the GC does its job and clear up 50 MB of heap space, your app will still use 256 MB at the OS level.
>
> The secret? Monitoring!
>
>> Or do you suggest something with the Java VM? I don't understand?
>>
>> On Apr 12, 2011, at 1:41 PM, Pascal Robert wrote:
>>
>>> Java memory settings reminds me of the "good old" Mac OS 9 days where we had to adjust manually how much RAM each app would use.
>>
>> ya, I know -- but I guess it makes server reliability easier...
>>
>> iPhone iOS just kills your app if it takes too much memory.
>>
>>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden