No idea?
Do you need more info or code? Just tell me what you need to investigate
this issue and I'll do my best to provide it.

Best regards,

Felix

2009/3/19 Felix Nensa <[email protected]>

> Hello guys,
>
> first of all thank you for libapreq2 ... it greatly eases module
> development and provides a real nice API :-)
>
> I've just installed the latest libapreq2 release and played around with
> HTTP file uploads.
> I've written a simple module that does nothing but copy the uploaded file
> to another file using apreq_brigade_fwrite().
> Examining my temp dir during an upload (122M file) I was wondering why the
> temp file that I suppose to hold the file bucket get created and filled up
> twice.
>
> Here are some ls snapshots from my temp dir during an upload. Am I missing
> something or why do I see apreq42MmiO and apreqkUS2cX?
>
> Best regards,
>
> Felix
>
>
>
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 0
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 80M
> -rw------- 1 apache apache 40M Mar 19 18:31 apreq42MmiO
> -rw------- 1 apache apache 40M Mar 19 18:31 apreqkUS2cX
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 130M
> -rw------- 1 apache apache 65M Mar 19 18:31 apreq42MmiO
> -rw------- 1 apache apache 65M Mar 19 18:31 apreqkUS2cX
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 197M
> -rw------- 1 apache apache 99M Mar 19 18:31 apreq42MmiO
> -rw------- 1 apache apache 99M Mar 19 18:31 apreqkUS2cX
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 250M
> -rw------- 1 apache apache 122M Mar 19 18:31 apreq42MmiO
> -rw------- 1 apache apache 122M Mar 19 18:31 apreqkUS2cX
> -rw-r--r-- 1 apache apache 6.8M Mar 19 18:31 upload.test
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 253M
> -rw------- 1 apache apache 122M Mar 19 18:31 apreq42MmiO
> -rw------- 1 apache apache 122M Mar 19 18:31 apreqkUS2cX
> -rw-r--r-- 1 apache apache 9.5M Mar 19 18:31 upload.test
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 301M
> -rw------- 1 apache apache 122M Mar 19 18:31 apreq42MmiO
> -rw------- 1 apache apache 122M Mar 19 18:31 apreqkUS2cX
> -rw-r--r-- 1 apache apache  59M Mar 19 18:31 upload.test
> [fe...@radiohead modules]# ls -lh /var/cache/mod_cod/
> total 122M
> -rw-r--r-- 1 apache apache 122M Mar 19 18:31 upload.test
>
> -- System --
> libapreq2-2.12
> Server version: Apache/2.2.3
> Server built:   Nov 12 2008 10:41:27
> 2.6.18-92.1.22.el5xen
>
> -- httpd.conf --
> LoadModule apreq_module       modules/mod_apreq2.so
> APREQ2_ReadLimit     1024M
> APREQ2_BrigadeLimit  10K
> APREQ2_TempDir       /var/cache/mod_cod
>

Reply via email to