patchPhamm (PHP LDAP Virtual Hosting Manager) - Patches: patch #5070, Fork.pl problem with larger...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5070: Fork.pl problem with larger messages (Vacation Forward )

Submitter:  Ricardo Amaro <ricardoamaro>
Submitted:  Thu 04 May 2006 09:49:33 AM UTC
   
 
Category:  None Priority:  7 - High
Status:  None Privacy:  Public
Assigned to:  ricardoamaro Open/Closed:  Open

Sat 01 Sep 2007 06:39:24 PM UTC, comment #2: 

Sorry for delay. Thanks for patch. Phamm05 development are in progress in these days.

Alessandro

Alessandro De Zorzi <lotabi>
Group administrator
Tue 16 May 2006 05:48:43 PM UTC, comment #1: 

My last change to fork.pl did the work of delivering messages correctly, but the process was to slow and consumed to much CPU.
Dicovered a simple solution to the problem. Changed the variable from STRING to ARRAY and now the messages are delivered in a few seconds. ;)
Hope this will improve the development of Phamm 5.

Ciao,

Ricardo Amaro

Ricardo Amaro <ricardoamaro>
Thu 04 May 2006 09:49:33 AM UTC, original submission:  

The fork.pl script as a perl problem that canĀ“t seem to manage very well larger email messages.
I changed the script to write the STDIN to a temporary file on disk so it can be delivered. Even if it is a larger file.
Since the data is writen to disk the process gets much slower and consumes more cpu.
But the job is done...
If anyone as an ideia to deal with variables that don't get lost no matter their size, please change the script and let everyone know about it.
Thanks
Ricardo Amaro

Ricardo Amaro <ricardoamaro>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #9979:  fork.pl added by ricardoamaro (3KiB - application/octet-stream - Working fork.pl with large messages and no CPU comsuming)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lotabi (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2006-05-16 ricardoamaro Attached File#9890 Removed
    2006-05-16 ricardoamaro Attached File- Added fork.pl, #9979
    2006-05-16 lotabi Assigned toNone ricardoamaro
    2006-05-04 ricardoamaro Attached File- Added fork.pl, #9890
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code