Gossamer Forum
Home : General : Perl Programming :

possible server problem

Quote Reply
possible server problem
it's me again with the problem timing out while sending 100 emails. forgot to mention before the most important thing (i think). the problem started when we moved to secure server last year. we have moved back and forth several times trying to identify/fix the problem. the behavior is consistent:

when the script is run from secure server, it takes at least 40 seconds to send 100 emails.

when the script is run from other server, it takes less than 10 seconds to run.

now what do i look for?

tks!
Quote Reply
Re: [delicia] possible server problem In reply to
Are you running from SSH?

If so, it may be worth looking at doing a "benchmark" with the script, to try and see where its hanging.

If you don't know how you use "Benchmark", then you can try adding debugging bits of code after each main function, and then when you run it you should be able to see which bits take longest, and go from there.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] possible server problem In reply to
don't know what SSH is. i see use_benchmark in cfg file but don't know how to use it. and of course i don't know how to add useful debugging code. :(
i sent you an email.