Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Long delay at end of BEGIN block

by Elian (Parson)
on Sep 23, 2003 at 15:37 UTC ( #293536=note: print w/replies, xml ) Need Help??

in reply to Long delay at end of BEGIN block

Without seeing the "do miscellaneous tasks" part it's tough to be sure, but the first thing that springs to mind is that you're seeing the lag because of variable destruction. Either you've got some variables that have slow DESTROY methods (perhaps something's doing a DNS lookup for logging purposes and resolver issues are causing this) or you're letting very large hashes fall out of scope and the cleanup's taking forever because of pathological C library behaviour.

If it's a resolver issue, fix it. If the C library on the machine's an old-ish version of glibc, upgrade it. Otherwise you've presented insufficient details to diagnose the problem.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://293536]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2021-07-30 17:09 GMT
Find Nodes?
    Voting Booth?

    No recent polls found