https://bz.apache.org/bugzilla/show_bug.cgi?id=66380

            Bug ID: 66380
           Summary: mod_fcgi does not clean up fcgid.tmp.6iGI1y upon error
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_fcgid
          Assignee: bugs@httpd.apache.org
          Reporter: apa...@kobaz.net
  Target Milestone: ---

Issue:
mod_fcgi does not clean up tmp files created due to FcgidMaxRequestInMem 65536


Symptoms:

My /tmp is filling up with this:

-rw------- 1 www-data www-data  65M Dec  8 10:59 /tmp/fcgid.tmp.gFPIuF
-rw------- 1 www-data www-data  41M Dec  8 11:03 /tmp/fcgid.tmp.ms4UpJ
-rw------- 1 www-data www-data 244M Dec  8 11:12 /tmp/fcgid.tmp.UkL7lk
-rw------- 1 www-data www-data  96M Dec  8 11:15 /tmp/fcgid.tmp.6iGI1y
-rw------- 1 www-data www-data 119M Dec  8 11:16 /tmp/fcgid.tmp.e9TvhU
-rw------- 1 www-data www-data  28M Dec  8 11:22 /tmp/fcgid.tmp.8fBOnS
-rw------- 1 www-data www-data  39M Dec  8 11:28 /tmp/fcgid.tmp.I09F3h
-rw------- 1 www-data www-data  68M Dec  8 11:39 /tmp/fcgid.tmp.oUprtV
-rw------- 1 www-data www-data  59M Dec  8 11:44 /tmp/fcgid.tmp.oACNiU
-rw------- 1 www-data www-data  61M Dec  8 11:48 /tmp/fcgid.tmp.OdEuOA
-rw------- 1 www-data www-data  41M Dec  8 11:49 /tmp/fcgid.tmp.SnyoVV
-rw------- 1 www-data www-data  82M Dec  8 12:05 /tmp/fcgid.tmp.okucYH


Client applications are uploading files, many of which are 100+ MB, which
obviously don't fit in 65536 of memory.

Apache/mod_fcgi is not cleaning up these files once the script returns

IS-COMM-NYC-05 {/tmp} root# stat /tmp/fcgid.tmp.6AzAU2
  File: /tmp/fcgid.tmp.6AzAU2
  Size: 94732650        Blocks: 185040     IO Block: 4096   regular file
Device: fe01h/65025d    Inode: 1984        Links: 1
Access: (0600/-rw-------)  Uid: (   33/www-data)   Gid: (   33/www-data)
Access: 2022-12-08 12:12:21.216492271 -0500
Modify: 2022-12-08 12:12:21.212492266 -0500
Change: 2022-12-08 12:12:21.212492266 -0500
 Birth: -
IS-COMM-NYC-05 {/tmp} root#


192.168.48.244 - - [08/Dec/2022:12:12:19 -0500] "POST
/api/public/CallQueue/UploadLogFile HTTP/1.1" 200 73 [RestSharp/108.0.2.0]

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to