ID: 26894 User updated by: techtonik at tut dot by Reported By: techtonik at tut dot by -Status: Feedback +Status: Open Bug Type: IMAP related Operating System: NT 4.0 SP6a PHP Version: 4.3.4 New Comment:
I've tried this build. Problem persists - Apache hangs. Virtual memory allocation stops at approximately 6Mb. Previous Comments: ------------------------------------------------------------------------ [2004-01-13 13:30:24] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Try the snapshot first. ------------------------------------------------------------------------ [2004-01-13 09:45:59] techtonik at tut dot by Description: ------------ I'm trying to parse a lot of msges in pop3 mailbox using IMAP functions. Unfortunately I can't find debug biuld for PHP 4.3.4 and I can't compile it myself, so I'll try to descript what is wrong in general. First of all Apache in hung state is endlessly munching file with name like msg77 or msg6 and so on, which it creates in the root! directory on my drive. Figured by Filemon. This file contains full email message, which I'm trying to send via mail() function. Message is random size. Now munching one with size about 1687 bytes. Apache works about hour and couldn't output anything even though I have timeout set to 180 seconds. So I can't even figure the line, where it hangs. My script reads all msgs from 1st till last by one. When msg fetched, an attach in tar.gz format is taked out of it, decompressed by gzinflate() and parsed by preg_match_all(). After that parsed letters remailed to another email. It all began with gzinflate() reporting buffer error and then data error after parsing some amount of msgs. These errors in turn appeared after I have added imap_delete() and imap_expunge() to erase successfully parsed messages. Now it just hangs and that is all. If I can fugure out which function makes Apache 2.0.48 hang I can do a more detailed report. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26894&edit=1