Are you running the application in chroot environment, and your
limits.conf totally blank... ?

Hmm....

check the 'ulimit -a' # to all current limits are reported.

and check which type of resources are not available.

The available limits are:

    core -- Limits the core file size (KB); usually set to 0 for most
users to prevent core dumps.
    data -- Maximum data size (KB).
    fsize -- Maximum file size (KB).
    memlock -- Maximum locked-in-memory address space (KB).
    nofile -- Maximum number of open files.
    rss -- Maximum resident set size (KB).
    stack -- Maximum stack size (KB).
    cpu -- Maximum CPU time (MIN).
    nproc -- Maximum number of processes.
    as -- Address space limit.
    maxlogins -- Maximum number of logins for this user or group.
    priority -- The priority to run user process with.

 --Ritesh


--- In [email protected], "Rahul Baweja" <[EMAIL PROTECTED]> wrote:
>
> have alrdy tried doing it through ulimit command but din help...
this is a
> cpanel server and cpanel limits the resources of each user to some
extent...
> here the user does not even have privilege to do su but when
permission for
> su is given the application runs properly else the same error....
>  
> limits.conf seems to be totally blank.. is there any way I can give this
> user unlimited resources as root?
> 
>   _____  
> 
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of Ritesh Agrawal
> Sent: Tuesday, February 20, 2007 6:08 PM
> To: [email protected]
> Subject: Re: [linuxtechbiz] resources limit
> 
> 
> 
> 
> Either
> 1)  /etc/security/limits.conf
> 
> or 
> 
> 2) ulimit command
> 
> 
> 
> Rahul Baweja <[EMAIL PROTECTED]> wrote: 
> 
> 
> Hi,
>  
> how can I increase resource limit for a non root user... trying to
run an
> application without root privileges... but it says "System error 11:
> Resource temporarily unavailable" 
>  
> Any ideas?
>  
> Rahul
> 
> 
> 
> 
> Thanks
> Ritesh Agrawal 
> 
> 
>   _____  
> 
> Looking for earth-friendly autos? 
> Browse
>
<http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2B
> HNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI-> Top Cars by "Green Rating" at
> Yahoo! Autos' Green Center.
>


Reply via email to