[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-users] Intriguing problem w/ Calendar app
From: |
skadhi |
Subject: |
Re: [Phpgroupware-users] Intriguing problem w/ Calendar app |
Date: |
21 Jan 2002 14:53:39 +0100 |
On Mon, 2002-01-21 at 14:46, Tomasz Spyrczak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there!
>
> On my phpgw 0.9.12 calendar works just fine when browsing these months.
After chatting with some very helpful on #phpgroupware, we figured out
that it has to do with the DST (Daylight Saving time). The thing is
there might be some bug in BSD mktime() & how PHP deals with that. &
Since I'm located in France (CET), the pb shows up in April, where DST
is applied. From then on, March & May are affected by this bug since
they show (in mini-month display) the start of April & the end of April
respectively.
I'll try to set the timezone to GMT & see if that helps. If you have
other tips, ....
Regards.
>
> Tomasz Spyrczak
>
>
>
> > Hi ppl,
> >
> > I've been running phpgw 0.9.12 on a FreeBSD 4.4-REL for about 3 months
> > with no major pb. Today, we've noticed that whenever somebody tries to
> > access the March 2002 month in the calendar, the httpd process's cpu
> > usage sky rockets from 8% approx to 80%+. Here is a snapshot of top's
> > output during one of these situations:
> > CPU states: 76.3% user, 0.0% nice, 23.0% system, 0.8% interrupt, 0.0%
> > idle
> > Mem: 37M Active, 42M Inact, 17M Wired, 8K Cache, 35M Buf, 154M Free
> > Swap: 512M Total, 512M Free
> >
> > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
> > 10862 www 60 0 14268K 11520K RUN 1:05 84.72% 84.72% httpd
> >
> > Trying to access a given day on March 2002 works like a charm. This
> > situation only occurs when "clicking" on the month link. The same
> > happens with April 2002 & May 2002 but not with June, July, & August
> > 2002 !?!
> >
> > The following error gets logged to the apache error log during these
> > funny situations:
> > [Mon Jan 21 14:43:43 2002] [error] PHP Fatal error: Maximum execution
> > time of 60 seconds exceeded in
> > /var/www/phpgroupware/phpgwapi/inc/class.Template.inc.php on line 156.
> > the line 156 contains:
> > $str = str_replace($v, $this->varvals[$k], $str);
> >
> >
> >
> > Tech specs:
> > -----------
> > FreeBSD 4.4-REL on PIII 500Mhz with 256M of RAM
> > MySQL 3.23.45
> > phpgroupware 0.9.12 with french localization
> > apache+mod_ssl-1.3.22+2.8.5_1
> > 7 users accessing the calendar app (the only app used in phpgw) in a
> > regular basis. tech population.
> >
> >
> > TIA for any help you might provide. We are relying heavily on this app.
> >
> >
> >
> > --
> > /Saad Kadhi -- address@hidden
> > [pgp keyid: 35592A6D http://pgp.mit.edu]
> > # buy a geek-in-a-can, point nozzle at technical problem and spray
> > # if desesperate degauss your screen. it might solve your pb as well
> >
> >
> > _______________________________________________
> > Phpgroupware-users mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/phpgroupware-users
> >
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBPEwbmMbMsgKq/FYXEQIXdgCfXPQ57Bv3Vv3WS3v24aNk2b7AbOkAoNOL
> l24RTPuFL6QlaFWSBT4DB8b7
> =O7vR
> -----END PGP SIGNATURE-----
>
>
>
> _______________________________________________
> Phpgroupware-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>
--
/Saad Kadhi -- address@hidden
[pgp keyid: 35592A6D http://pgp.mit.edu]
# buy a geek-in-a-can, point nozzle at technical problem and spray
# if desesperate degauss your screen. it might solve your pb as well