View previous topic :: View next topic |
Author |
Message |
fmeeusen n00b
Joined: 18 May 2004 Posts: 13 Location: Albany, NY
|
Posted: Wed Jul 19, 2006 2:13 pm Post subject: webcalendar extreme lag after updates [SOLVED] |
|
|
(no reponse from the webcalendar forum on this one, so I turn to you)
Apologies for the sketchiness of this description, but I'm in the dark on this one...
I'm running:
2.6 kernel (gentoo, of course)
webcalendar 1.0.4
MySQL 4.1.20
PHP5
apache2
I did various updates a couple of months ago (i.e. webcalendar itself, php, mysql, apache) and since then my calendar access time to any screen within webcalendar is suffering extreme lag. Approximately 20 seconds before the screen even starts to load (once it starts to load, it goes fairly quick). I have several other web apps (i.e. WordPress, phpBB, Gallery) running on this web server using the same programs (php5, mysql) with no noticable effect from the updates. One of my problems is not knowing exactly which update caused the problem. I have monitored all the log files I can think of (apache2, mysql, etc.) while initiating a webcalendar screen change, with nothing noticable that would help. This lag exists even within my network with no firewall involved. Can anyone give me a hint where to look to see what is going on that's taking so much time while webcal pages load? Or even someone who has had similar experience and can shed some light?
Many thanks in advance.
Last edited by fmeeusen on Thu Jul 20, 2006 6:09 pm; edited 1 time in total |
|
Back to top |
|
|
GoofballJM1 Guru
Joined: 22 Mar 2004 Posts: 392 Location: Denver, CO USA
|
Posted: Wed Jul 19, 2006 3:24 pm Post subject: |
|
|
What version of PHP 5 are you using? I have been running webcalendar on an old Gentoo server of mine for nearly a year without a hitch. It could be an apache or php use flag. I don't have access to my server from here, or I would post it for you now. _________________ "Great spirits have often encountered violent opposition from weak minds." - Albert Einstein |
|
Back to top |
|
|
fmeeusen n00b
Joined: 18 May 2004 Posts: 13 Location: Albany, NY
|
Posted: Wed Jul 19, 2006 4:51 pm Post subject: |
|
|
php version:
PHP 5.1.4-pl0-gentoo (cli) (built: May 12 2006 11:51:51)
Likewise with the duration of webcalendar. It's been running for over a year now without a problem. Good point concerning USE flags. Admittedly, USE flags are not something I've given a lot of time to. Just learning bits and pieces as I go along... like now.
Here's my USE flags:
Code: | USE="-X -gnome -kde -cups symlink mysql apache2 php xml session cli sqlite" |
Any suggestions for modifications are humbly accepted. |
|
Back to top |
|
|
fmeeusen n00b
Joined: 18 May 2004 Posts: 13 Location: Albany, NY
|
Posted: Thu Jul 20, 2006 2:09 pm Post subject: |
|
|
As a follow up, I have updated php5 (PHP 5.1.4-pl4-gentoo), checked all mysql tables that belong to webcalendar, removed the webcalendar directory, installed new and configured with current database. The same problem exists. So, it seems likely that it is either, as you say, a missing USE flag, or possibly a mysql problem? Not sure. The one thing I know, is that none of the logs (apache2, everything, kernel, messages, and mysql) I've watched (tail -f) while accessing and loading a webcalendar screen show any indication of a problem. Any other suggestions? |
|
Back to top |
|
|
GoofballJM1 Guru
Joined: 22 Mar 2004 Posts: 392 Location: Denver, CO USA
|
Posted: Thu Jul 20, 2006 4:31 pm Post subject: |
|
|
Those are your global use flags. What are your use flags for PHP specifically?
Code: | # emerge -vp dev-lang/php
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/php-5.0.5-r5 USE="apache2 berkdb bzip2 calendar cgi cli crypt ctype gd gdbm imap ipv6 kerberos ldap mysql mysqli ncurses nls pcre postgres readline session spell spl ssl unicode wddx xml xmlrpc xsl zlib -adabas -apache -bcmath -birdstep -cdb -cjk -concurrentmodphp% -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hardenedphp -hyperwave-api -iconv -informix -inifile -interbase -iodbc -java-external -libedit -mcve -memlimit -mhash -ming -mnogosearch -msql -mssql -oci8 -oci8-instant-client -odbc -oracle7 -ovrimos -pcntl -pdo-external -pfpro -pic -posix -qdbm -recode -sapdb -sasl -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -sqlite -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -xpm -yaz -zip" 20 kB
Total size of downloads: 20 kB
|
That's what I have on my server right now running webcalendar.
Don't include the ones with a minus next to them.
If you want to specifically add use flags to php, I would add them to /etc/portage/package.use
Code: | dev-lang/php -X -recode apache2 berkdb bzip2 calendar cli dba kerberos ldap mysql ncurses nls pcre mysqli pear session ssl wddx xml2 xmlrpc xsl ctype gd unicode postgres cgi |
_________________ "Great spirits have often encountered violent opposition from weak minds." - Albert Einstein |
|
Back to top |
|
|
fmeeusen n00b
Joined: 18 May 2004 Posts: 13 Location: Albany, NY
|
Posted: Thu Jul 20, 2006 6:09 pm Post subject: webcalendar extreme lag after updates |
|
|
Thank you. That did help. It's still not as fast as original, but noticably faster than it has been (new version of php5 also states that php runs a little slower because of some changes... don't remember what presently). I appreciate learning how to set USE flags per program too. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|