Webmastersite.net
Register Log In

Server 500 Error

Comments on Server 500 Error

frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
Posted Oct 23, 2008 - 1:37 PM:

Hi Paul,

since 4.1.69 I get a lot of Server 500 Errors in den Frontend, but I don't see this 500'er not in the Server Logs... misterious. I have disabled a lot of functions, but it does not help.

Thanx for help.
Frank
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 23, 2008 - 10:24 PM:

Have you gone through this list of possibilities?
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
Posted Oct 24, 2008 - 5:57 AM:

Hi Paul,

yes, I have checked and tested all described possibilities, but Error 500 sometimes still occur.

Do you have another idea?

Thanx,
Frank
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
Posted Oct 25, 2008 - 3:10 AM:

Hi Paul,

I have tried some another things... but without positiv result:

I have moved the db to another db server... same problems
I have stripped down wrapper.tpl an displaylinks.tpl... same problems

The problem seems to be a runtime over 10 seconds. But what I see, is some sessions management, although I have disabled it (Online user listings and Online total for each category are not set). With debug you will see following times (here are to dumps... the frist from a category and the second from the index:

www.naturheilkunde-alternat...nativmedizin.de/Akupunktur

Load time so far: 0.31 seconds.



Query 6: SELECT `original`,`replacement`,`description`,`id`,`sortorder` FROM natur_markup WHERE type='smilie' ORDER BY sortorder

Number of rows is 14

Load time so far: 0.32 seconds.



Query 7: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM natur_email WHERE timesent=0 AND inprogress=0 ORDER BY id ASC LIMIT 0,10

Number of rows is 0

Load time so far: 0.41 seconds.



Query 8: SELECT `id`,`frequency`,`filename`,`nextrun` FROM natur_crons WHERE nextrun < 1224929150 ORDER BY id ASC LIMIT 0,1

Number of rows is 0

Load time so far: 0.42 seconds.



Query 9: SELECT `id` FROM natur_categories WHERE validated=1 AND deleted=0 AND name='Akupunktur' AND parent=0

Load time so far: 0.42 seconds.



Query 10: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=33

Load time so far: 0.49 seconds.



Query 11: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE parent=33 AND validated=1 AND hide=0 AND deleted=0 AND isalbum=0 ORDER BY priority ASC,name ASC LIMIT 0,40

Number of rows is 3

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Load time so far: 0.54 seconds.



Query 12: SELECT `id`,`title`,`url`,`description`,`rating`,`votes`,`validated `,`catid`,`sumofvotes`,`email`,`time`,`hits`,`numcomments`,` hide`,`ownerid`,`voterips`,`voterids`,`lastedit`,`type`,`not ify`,`suspect`,`pendingedit`,`funds`,`suspended`,`alias`,`ex pire`,`ip`,`inalbum`,`typeorder`,`recipurl`,`hitsin`,`recipw ith`,`hitsinips`,`hitsoutips`,`lastcomment`,`related`,`inhid den`,`viewers`,`threadviewers`,`hitsintemp`,`hitsouttemp`,`o rigtype`,`importance`,`parentids`,`timesdead`,`timesemailed` ,`threadclosed`,`threadposters`,`lastposterid`,`lastposterna me`,`ownername`,`deleted`,`deletionreason`,`movedto`,`delete dby`,`timevalidated`,`filefield`,`message`,`sticky`,`downloa ds`,`pollid`,`posticon`,`savedby`,`validatedemail`,`unpaid`, `recipverified`,`effectivetime`,`sugcatid`,`pagerank`,`wysih tml`,`movedid`,`unrevised`,`feedurl`,`feedcache`,`feedcachet ime`,`tags`,`xmlsource`,`ordercomments`,`lastpadupdate`,`pad file`,`lastmonthlycheck`,`invisibleto`,`profileurl`,`lastpro fileurl`,`timesrenewed`,`timedeleted` FROM natur_links WHERE catid=33 AND hide=0 AND deleted=0 AND validated=1 AND effectivetime < 1224929150 ORDER BY typeorder ASC,hits DESC,title ASC LIMIT 0,10

Number of rows is 10

Creating link with Array as row

Load time so far: 0.58 seconds.



Query 13: SELECT `id`,`type`,`objectid`,`filename`,`filetitle`,`filesize`,`wi dth`,`height`,`memberid`,`time`,`deleted`,`field`,`downloads `,`validated`,`ownerip`,`catid`,`importurl` FROM natur_attachments WHERE type='link' AND objectid=2496 AND validated=1 ORDER BY time ASC

Number of rows is 3

Creating attachment with Array as row

Load time so far: 0.74 seconds.



Query 14: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=33

Creating attachment with Array as row

Load time so far: 0.77 seconds.



Query 15: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=33

Creating attachment with Array as row

Load time so far: 0.78 seconds.



Query 16: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=33

Creating link with Array as row

Creating link with Array as row

Creating link with Array as row

Creating link with Array as row

Creating link with Array as row

Creating link with Array as row

Creating link with Array as row

Creating link with Array as row

Creating link with Array as row

Load time so far: 1.08 seconds.



Query 17: SELECT COUNT(id) FROM natur_links WHERE catid=33 AND validated=1 AND hide=0 AND deleted=0 AND type='regular' AND effectivetime < 1224929150

Count is 24

Load time so far: 1.1 seconds.



Query 18: SELECT COUNT(id) FROM natur_links WHERE catid=33 AND validated=1 AND hide=0 AND deleted=0 AND type='recip' AND effectivetime < 1224929150

Count is 1

Setting cookie with name returnto, value naturheilkunde-alternativme...playcat&catname=Akupunktur and expiration time 0

Load time so far: 1.55 seconds.



Query 19: SELECT `id`,`memberid`,`location`,`time`,`ip`,`browser`,`starttime` ,`catid`,`threadid`,`areaname`,`lastsearch`,`nopermission`,` inchat`,`name`,`isrobot`,`lastchat`,`groupnamestyle`,`accept ims`,`visibility`,`profileurl` FROM natur_sessions WHERE time > 1224928252 AND (catid=33 AND memberid>0) ORDER BY time DESC LIMIT 0,100

Number of rows is 0

Load time so far: 1.58 seconds.



Query 20: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE validated=1 AND hide=0 AND deleted=0 AND (parent=0) AND alias=0 ORDER BY id ASC LIMIT 0,50

Number of rows is 32

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row






http://www.naturheilkunde-alternativmedizin.de/


Load time so far: 0.21 seconds.



Query 6: SELECT `original`,`replacement`,`description`,`id`,`sortorder` FROM natur_markup WHERE type='smilie' ORDER BY sortorder

Number of rows is 14

Load time so far: 0.22 seconds.



Query 7: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM natur_email WHERE timesent=0 AND inprogress=0 ORDER BY id ASC LIMIT 0,10

Number of rows is 0

Load time so far: 0.28 seconds.



Query 8: SELECT `id`,`frequency`,`filename`,`nextrun` FROM natur_crons WHERE nextrun < 1224929149 ORDER BY id ASC LIMIT 0,1

Number of rows is 0

Load time so far: 0.34 seconds.



Query 9: SELECT COUNT(id) FROM natur_categories WHERE parent=0 AND deleted=0 AND hide=0 AND isalbum=0 AND validated=1

Count is 32

Load time so far: 0.39 seconds.



Query 10: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE parent=0 AND validated=1 AND hide=0 AND isalbum=0 AND deleted=0 ORDER BY priority ASC,name ASC LIMIT 0,40

Number of rows is 32

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Setting cookie with name returnto, value http://naturheilkunde-alternativmedizin.de/index.php and expiration time 0

Load time so far: 1.53 seconds.



Query 11: SELECT COUNT(id) FROM natur_sessions WHERE memberid>0

Count is 1

Load time so far: 1.59 seconds.



Query 12: SELECT COUNT(id) FROM natur_sessions WHERE memberid=0 AND isrobot=0

Count is 0

Load time so far: 1.59 seconds.



Query 13: SELECT COUNT(id) FROM natur_sessions WHERE memberid=0 AND isrobot=1

Count is 2

Load time so far: 1.67 seconds.



Query 14: SELECT `id`,`title`,`url`,`description`,`rating`,`votes`,`validated `,`catid`,`sumofvotes`,`email`,`time`,`hits`,`numcomments`,` hide`,`ownerid`,`voterips`,`voterids`,`lastedit`,`type`,`not ify`,`suspect`,`pendingedit`,`funds`,`suspended`,`alias`,`ex pire`,`ip`,`inalbum`,`typeorder`,`recipurl`,`hitsin`,`recipw ith`,`hitsinips`,`hitsoutips`,`lastcomment`,`related`,`inhid den`,`viewers`,`threadviewers`,`hitsintemp`,`hitsouttemp`,`o rigtype`,`importance`,`parentids`,`timesdead`,`timesemailed` ,`threadclosed`,`threadposters`,`lastposterid`,`lastposterna me`,`ownername`,`deleted`,`deletionreason`,`movedto`,`delete dby`,`timevalidated`,`filefield`,`message`,`sticky`,`downloa ds`,`pollid`,`posticon`,`savedby`,`validatedemail`,`unpaid`, `recipverified`,`effectivetime`,`sugcatid`,`pagerank`,`wysih tml`,`movedid`,`unrevised`,`feedurl`,`feedcache`,`feedcachet ime`,`tags`,`xmlsource`,`ordercomments`,`lastpadupdate`,`pad file`,`lastmonthlycheck`,`invisibleto`,`profileurl`,`lastpro fileurl`,`timesrenewed`,`timedeleted` FROM natur_links WHERE validated=1 AND hide=0 AND deleted=0 AND inhidden=0 AND (invisibleto NOT LIKE '%|3|%') AND effectivetime < 1224929149 AND alias=0 AND inalbum=0 ORDER BY id DESC LIMIT 0,5

Number of rows is 5

Creating link with Array as row

Load time so far: 1.75 seconds.



Query 15: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=65

Creating link with Array as row

Load time so far: 1.79 seconds.



Query 16: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=60

Creating link with Array as row

Load time so far: 1.84 seconds.



Query 17: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=23

Creating link with Array as row

Load time so far: 1.91 seconds.



Query 18: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=95

Creating link with Array as row

Load time so far: 1.95 seconds.



Query 19: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=30

Load time so far: 1.98 seconds.



Query 20: SELECT `id`,`memberid`,`location`,`time`,`ip`,`browser`,`starttime` ,`catid`,`threadid`,`areaname`,`lastsearch`,`nopermission`,` inchat`,`name`,`isrobot`,`lastchat`,`groupnamestyle`,`accept ims`,`visibility`,`profileurl` FROM natur_sessions WHERE time > 1224928251 AND (memberid>0) ORDER BY time DESC LIMIT 0,100

Number of rows is 1

Load time so far: 2.03 seconds.



Query 21: SELECT `content`,`author`,`id`,`source`,`ownerid`,`ownername`,`vali dated` FROM natur_quotes WHERE validated=1 ORDER BY rand() ASC LIMIT 0,1

Number of rows is 0

Load time so far: 2.18 seconds.



Query 22: SELECT `id`,`memberid`,`location`,`time`,`ip`,`browser`,`starttime` ,`catid`,`threadid`,`areaname`,`lastsearch`,`nopermission`,` inchat`,`name`,`isrobot`,`lastchat`,`groupnamestyle`,`accept ims`,`visibility`,`profileurl` FROM natur_sessions WHERE time > 1224928251 AND (inchat=1 AND memberid>0) ORDER BY time DESC LIMIT 0,100

Number of rows is 0

Load time so far: 2.18 seconds.



Query 23: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE validated=1 AND hide=0 AND deleted=0 AND (parent=0) AND alias=0 ORDER BY id ASC LIMIT 0,50

Number of rows is 32

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Creating category with Array as row

Load time so far: 2.75 seconds.



Query 24: SELECT `id`,`title`,`url`,`description`,`rating`,`votes`,`validated `,`catid`,`sumofvotes`,`email`,`time`,`hits`,`numcomments`,` hide`,`ownerid`,`voterips`,`voterids`,`lastedit`,`type`,`not ify`,`suspect`,`pendingedit`,`funds`,`suspended`,`alias`,`ex pire`,`ip`,`inalbum`,`typeorder`,`recipurl`,`hitsin`,`recipw ith`,`hitsinips`,`hitsoutips`,`lastcomment`,`related`,`inhid den`,`viewers`,`threadviewers`,`hitsintemp`,`hitsouttemp`,`o rigtype`,`importance`,`parentids`,`timesdead`,`timesemailed` ,`threadclosed`,`threadposters`,`lastposterid`,`lastposterna me`,`ownername`,`deleted`,`deletionreason`,`movedto`,`delete dby`,`timevalidated`,`filefield`,`message`,`sticky`,`downloa ds`,`pollid`,`posticon`,`savedby`,`validatedemail`,`unpaid`, `recipverified`,`effectivetime`,`sugcatid`,`pagerank`,`wysih tml`,`movedid`,`unrevised`,`feedurl`,`feedcache`,`feedcachet ime`,`tags`,`xmlsource`,`ordercomments`,`lastpadupdate`,`pad file`,`lastmonthlycheck`,`invisibleto`,`profileurl`,`lastpro fileurl`,`timesrenewed`,`timedeleted` FROM natur_links WHERE validated=1 AND hide=0 AND deleted=0 AND inhidden=0 AND (type='recip' AND invisibleto NOT LIKE '%|3|%') AND effectivetime < 1224929149 AND alias=0 AND inalbum=0 ORDER BY rand() ASC LIMIT 0,1

Number of rows is 1

Creating link with Array as row

Load time so far: 2.87 seconds.



Query 25: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`paren tnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom `,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`t ype`,`permissions`,`subscribers`,`subscriber`,`mixtypes`,`is album`,`orderlinks`,`totalcomments`,`ulsearchmax`,`ulsearchq uery`,`ulsearchadult`,`alias`,`catcols`,`linkcols`,`dmozpath `,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,` reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposter id`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastt hreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomme nts`,`actaslink`,`countposts`,`subcatshtml`,`linksperpage`,` wysihtml`,`numonline`,`sponsorship`,`lastprofileurl`,`defaul tnoaccess`,`lastthreadurl`,`lastposturl` FROM natur_categories WHERE id=2



Hope this will help you finding something.

regards
Frank
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
Posted Oct 25, 2008 - 3:20 AM:

Hi Paul

for my question above about session management, I found something in end.php:

if (strstr($totalpage, 'ONLINE}'))
{
require_once 'includes/maxonline.php';
}

I think, this means 'if there is anywhere the phrase ONLINE}, maxonline is executetd regardless of the switches'

Frank
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 25, 2008 - 6:23 AM:

frankbeckers wrote:
The problem seems to be a runtime over 10 seconds.


Some servers may give a 500 for every error instead of displaying the actual error message. They write the real error to a log file somewhere, which presumably says that the php.ini time limit has been exceeded.

The debug output you have me is of a 3 second runtime -- which suggests an overloaded server or lots of toplists, but it's not 10 seconds.

The online user list adds a small fraction of a second under normal circumstances. Maybe if you have hundreds of people online at once it could take more time, but it shouldn't be significant.
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
Posted Oct 25, 2008 - 12:48 PM:

There is no error written to the log.. also the error 500 isn't written.

I can reproduce the situation... I open 6 tabs in ie7 and every tab is displaying one categorry... if I refresh those, one of them gets error 500 and this after 10 seconds.
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
Posted Oct 26, 2008 - 5:22 AM:

Today I have cleaned up all alias categories, so there is no category an alias of another, but the problem still occurs. Today I see it definitive running in the 10 seconds problem.

Any tips for debugging?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 26, 2008 - 6:38 AM:

You're refeshing all 6 at the same moment? I'd expect that could bring a server to a halt.
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
#10 - Quote - Permalink
Posted Oct 26, 2008 - 7:16 AM:

Yes, but this may be the same like 6 different guest. googlebot is getting the same problems and so the site is banned from the serps... thats the major problem... banned from serps means no guest...
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
#11 - Quote - Permalink
Posted Oct 26, 2008 - 9:36 AM:

I'm searching and testing a lot of things. In the moment it seems, if I make an update (delete an entry/link) the next call (via redirect automaticly or via refresh in the browser) results error 500. My environment:

Apache
PHP 4.4.9 with zend engine 1.3.0
Loaded PHP Extensions: zip, xslt, xml, wddx, tokenizer, standard, sqlite, shmop, session, posix, overload, mysql, mhash, mcrypt, mbstring, imap, idn, iconv, gettext, gd, ftp, exif, domxml, dbase, dba, db, curl, ctype, calendar, bz2, bcmath, zlib, pcre, openssl

an MySQL 4

I have tested with php5, also errors 500 occurs.

Should I test mit MySQL 5?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted Oct 27, 2008 - 9:18 AM:

PHP 4 will be slower and use more memory. MySQL 4.1 or 5.x are recommended. I believe 4.0 lacked query caching and would be slower. These have no real relation here though, because there's nothing I can do to create a 500 error after updating an item.

What kind of traffic are you talking about here? 6 guests in the same second being a regular occourence would suggest a staggeringly popular website.

Since you're talking about a redirect, do you have redirect bypassing on or off?
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
#13 - Quote - Permalink
Posted Oct 27, 2008 - 11:48 AM:

Hi Paul,

I have 'Bypass redirect pages where possible? ' switched to off.

My hoster could not give me an error log of the webserver, but he gave me an php code snippet to include, but where could I do this to catch all erros? I think this will help us to find the error reason.

I came from about 100 unique vistors a day. I think the error 500 came after some update to 4.1.70. Is it possible to downgrade for example to 4.1.60? I will give this a try.

Thanx for helping.
Frank
frankbeckers
Forum Regular

Usergroup: Customer
Joined: Dec 20, 2007
Location: Germany

Total Topics: 33
Total Comments: 106
#14 - Quote - Permalink
Posted Oct 28, 2008 - 9:48 AM:

I have tested with 4.1.63... same results error 500.

What I do not understand, after some error 500 (>10 seconds runtime) the very next refresh works fine, and between 1 and 3 seconds the fully site is displayed.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#15 - Quote - Permalink
Posted Oct 28, 2008 - 3:40 PM:

You haven't told me what you want to insert. Anyhow, error reporting is on unless you've set debug mode to turn it off.

Are you using the cache system (if so, for what groups/loads)?
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.