[nycphp-talk] Script terminates after certain amount of time period
tom at supertom.com
tom at supertom.com
Mon Sep 15 08:19:20 EDT 2003
If it doesn't occur in a smaller PDF, then your code probably isn't the
problem, but one of those php.ini settings is. Raise the memory limit to a
large number (like 50MB) and see if it works at all. If you are on Unix,
you can use top to monitor how much memory and CPU that httpd thread is
actually using.
Tom
***************************************************
What's Tom listening to right now? Find out here:
http://www.supertom.com/current_track.php
-----Original Message-----
From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org]On Behalf Of Anirudh Zala
Sent: Monday, September 15, 2003 4:50 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Script terminates after certain amount of time
period
Tom,
No, problem doesn't occur in small pdf, script can generate file upto 2-3 MB
of size that includes images and data. So Problem arise only when it is
required to have PDF above 3 MB. During this process my script also
interacts with Perl script that manipulates my images and php script uses
those images in generating PDF. Hence 2 scripts working together.
Thanks
Anirudh Zala
----- Original Message -----
From: <tom at supertom.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Friday, 12 September, 2003 5:31 PM
Subject: RE: [nycphp-talk] Script terminates after certain amount of time
period
> Anirudh,
>
> If you try this with a "small" PDF (like 1 page, light graphics), do you
> still have the same results?
>
> Thanks,
>
> Tom
>
>
>
>
>
> ***************************************************
> What's Tom listening to right now? Find out here:
> http://www.supertom.com/current_track.php
>
>
>
>
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org
> [mailto:talk-bounces at lists.nyphp.org]On Behalf Of Anirudh Zala
> Sent: Friday, September 12, 2003 4:07 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] Script terminates after certain amount of time
> period
>
>
> Thanks all,
>
> BUT nothing is working. I have also increased memory limit upto 20MB, and
> tried all of your's suggestions, but still result is 0. While testing this
> script on Netscape and other browser same error occures except message is
> different that "Document contains no data".
>
> Looks like it needs huge amount of memory resources as finally over 15 MB
> PDF document is to be created by that script. Perhaps Apache or Php is not
> able to handle this much amount of data in memory. Any other suggestions
> will be welcomed.
>
> Thanks
>
> Anirudh Zala
>
> ----- Original Message -----
> From: <tom at supertom.com>
> To: "NYPHP Talk" <talk at lists.nyphp.org>
> Sent: Tuesday, 09 September, 2003 9:02 PM
> Subject: RE: [nycphp-talk] Script terminates after certain amount of time
> period
>
>
> > Chris is right, I would pull it up in another browser, just to make sure
> > that you are actually getting the real error message.
> >
> > Also, depending on how big the PDF files are that are being created, you
> may
> > want to look into the memory limit entry in php.ini, to make sure that
you
> > have enough to allow the PDF to be created.
> >
> > memory_limit = 8M ; Maximum amount of memory a script may consume
> (8MB)
> >
> > Sorry, I came into this post late, please excuse me if this has already
> been
> > suggested.
> >
> > Good Luck!
> >
> > Tom
> >
> >
> >
> >
> >
> > ***************************************************
> > What's Tom listening to right now? Find out here:
> > http://www.supertom.com/current_track.php
> >
> >
> >
> >
> > -----Original Message-----
> > From: talk-bounces at lists.nyphp.org
> > [mailto:talk-bounces at lists.nyphp.org]On Behalf Of Chris Shiflett
> > Sent: Tuesday, September 09, 2003 11:19 AM
> > To: NYPHP Talk
> > Subject: Re: [nycphp-talk] Script terminates after certain amount of time
> > period
> >
> >
> > --- Anirudh Zala <xml at aumcomputers.com> wrote:
> > > Chris, As i have mentioned, it is also not working at all, just "Page
> > > can not be displayed" after few mins. Looks like browser loose
> > > connection with server.
> >
> > Read my response again. Specifically:
> >
> > > > 2. Are you using IE? Don't.
> >
> > What I meant by this is that IE is likely giving you the BS error
message,
> > and
> > it isn't the least bit helpful. In fact, it is usually very misleading.
> >
> > Chris
> >
> > =====
> > Become a better Web developer with the HTTP Developer's Handbook
> > http://httphandbook.org/
> > _______________________________________________
> > talk mailing list
> > talk at lists.nyphp.org
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> > _______________________________________________
> > talk mailing list
> > talk at lists.nyphp.org
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
More information about the talk
mailing list