in reply to Re: Possible Server Resources problem
in thread Possible Server Resources problem
I doubt that I'm even approaching 10MB of memory - if one can go by the filesize * nº files 'required' etc... at least as a stating point?!? But thanks for the figures - at least now I know what ballpark we're talking about re: memory usage! :-)
Re: debuging - I have included a &my_err() sub to sort-of 'trap' errors, but only for opening files and requiring files, nothing else. However, it certainly does the job.
But the prob I'm having doesn't even get that far! It's nothing to do with headers not being sent either. The whole thing just freezes! Almost as if the program were in some sort of loop - but I can't see where a loop might be! And all I'm trying to do is appent html output to a scalar variable for s///g;ing later in the script.
The "Gets to here" bit I do in my sleep! (I've learnt the hard way many a time b4! ;-)
Shared server would be correct, although it was not a quote! I have no idea how many other sites are using the same server, and the host (Powweb) say that they have not changed their server config, neither do they allow their clients shell access. And, understandably, 'cos this is a script problem, neither am I expecting them to offer support (or classes in Perl programming in this case!)
So, apart from using a debug sub and following the 'flow' of data by putting "Ooh look! I managed to get this far" in the script, is there anything else I might be able to try or am I destined to go thru 1,000's of lines of code, doing CTRL-V and getting my script to go "Boo!" on-screen?!?
My 'just as important' problem is to find out what's happening so I can temporarily plug the whole, in order to start selling this app. which'll give me time to rewrite completely in a far more 'professional' way. At the moment, I just can't afford another rewrite (which'll probably take > 2-3 months!!!
Any further suggestions are more than welcome! Please!!!
kind regards and big thanks in anticipation...
Richard.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re2: Possible Server Resources problem
by tachyon (Chancellor) on Sep 10, 2004 at 03:52 UTC | |
by meetn2veg (Scribe) on Sep 10, 2004 at 13:50 UTC |