Re: Compiled/linked executable CGI script crashes when run as CGI, runs to completion when run outside HTTPD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Trawick wrote:
On Mon, Dec 3, 2012 at 11:17 AM, J.Lance Wilkinson <jlw12@xxxxxxx <mailto:jlw12@xxxxxxx>> wrote:

    Jeff Trawick wrote:

        On Mon, Dec 3, 2012 at 10:28 AM, J.Lance Wilkinson
        <jlw12@xxxxxxx <mailto:jlw12@xxxxxxx> <mailto:jlw12@xxxxxxx
        <mailto:jlw12@xxxxxxx>>> wrote:

            Jeff Trawick wrote:

                Run under valgrind from the shell, and if that doesn't work
                create a wrapper script to be the CGI and use the
        wrapper script
                to invoke the real CGI under valgrind in that environment.


            Yep.   ulimit reports "unlimited".


there are a number of limits on different resources

try 'ulimit -a' to see all the limits that the shell knows about

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 14868
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


--
J.Lance Wilkinson ("Lance")		InterNet: Lance.Wilkinson@xxxxxxx
Systems Design Specialist - Lead	Phone: (814) 865-4870
Digital Library Technologies		FAX:   (814) 863-3560
E3 Paterno Library
Penn State University
University Park, PA 16802
http://ucs.psu.edu/home/jlw12@xxxxxxx?fmt=freebusy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux