hi everyone,

I'v got an urgent problem with a vserver .
This vserver uses tomcat and the web application failed some times. ( in fact a lots of times when the user is connecting ) I made a ptrace on the process and I can see that there is SIGXCPU invoked with CPU TIME Limit exceeded.

rt_sigsuspend(~[INT QUIT ABRT BUS SEGV TERM XCPU RTMIN RT_1]) = ? ERESTARTNOHAND (To be restarted)
--- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
sigreturn() = ? (mask now ~[INT QUIT ABRT BUS KILL SEGV TERM STOP RTMIN])
sigreturn()                             = ? (mask now [CHLD])
accept(127, 0xbff5e448, [28])           = ? ERESTARTSYS (To be restarted)
--- SIGPWR (Power failure) @ 0 (0) ---
futex(0x19b7b20, FUTEX_WAKE, 1)         = 1


I did not configure any cpu limits.
How can I increase CPU limits  on  this vserver ?
How can I see the cpu limits ?

I try :
vlimit -c 346 -H --cpu 30
vc_set_rlimit(): Invalid argument
vlimit -c 346 --cpu 30
vc_set_rlimit(): Invalid argument

vlimit -c 346 -a
RSS         N/A                 N/A                 inf
NPROC       N/A                 N/A                 inf
NOFILE      N/A                 N/A                 inf
MEMLOCK     N/A                 N/A                 inf
AS          N/A                 N/A                 inf
vc_get_rlimit(): Invalid argument
LOCKS       N/A                 N/A                 0xbffa2e5c00000001
18          N/A                 N/A                 inf


thanks for your help

jean-marc.

PS I have a mail problem I'm sorry if you have received 2 ou 3 times this email


vserver-info
Versions:
                  Kernel: 2.6.16-1.2096_FC4.vs2.0.2.0.rc17.1smp
                  VS-API: 0x00020001
            util-vserver: 0.30.210; Apr 15 2006, 20:07:50

Features:
                      CC: gcc, gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
                     CXX: g++, g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
                CPPFLAGS: ''
CFLAGS: '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -std=c99 -Wall -pedantic -W -funit-at-a-time' CXXFLAGS: '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
              build/host: i686-redhat-linux-gnu/i686-redhat-linux-gnu
            Use dietlibc: yes
      Build C++ programs: yes
      Build C99 programs: yes
          Available APIs: compat,v11,fscompat,v13,net,oldproc,olduts
           ext2fs Source: e2fsprogs
   syscall(2) invocation: alternative
     vserver(2) syscall#: 273/glibc

Paths:
                  prefix: /usr
       sysconf-Directory: /etc
           cfg-Directory: /etc/vservers
        initrd-Directory: /etc/rc.d/init.d
      pkgstate-Directory: /var/run/vservers
         vserver-Rootdir: /vservers


Assumed 'SYSINFO' as no other option given; try '--help' for more information.






_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to