page loading

Started by gram, June 26, 2011, 06:43:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gram

#21
ok mindless
thank you

Mindless

#20
Images are why you have lag - why the need for that shite lol ? Anyway to solve it remove the image resize mod and use Tbdev SVN for the pregs for bbcode functions.

I'll post a mod in 30 mins that dont resize.

gram

i removed the images and now i have this
The Famous Tracker Server killers generated this page in 22.4861 seconds and then took a nap.
They had to raid the server 6 time's using : 99.99 % php & 0.01 % sql
3 Server killers ran to show you this page :) ! =[.
0% Memcached: 0.00084s Hits: 82.389% Misses: 17.611% Items: 180
i think you right putyn

putyn

ok so i see you have some pretty big pics in that description if scale function its used that probably why your page its taking so much time to load

gram

#17
Quote from: pdq on June 28, 2011, 08:25:51 AM
details page shouldn't have any code for files other than numfiles :P so it has nothing to do with that unless you've changed the code.

i would comment this out and see if pages load faster:
if (!empty($row["poster"]))
  $HTMLOUT .= tr("{$lang['details_poster']}", "<a href=\"javascript: klappe_news('a2')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica2\" alt=\"[Hide/Show]\" /></a><div id=\"ka2\" style=\"display: none;\"><img src='".$row["poster"]."' alt='Poster' title='Poster' /></div>", 1);
  else
  $HTMLOUT .= tr("{$lang['details_poster']}", "<a href=\"javascript: klappe_news('a2')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica2\" alt=\"[Hide/Show]\" /></a><div id=\"ka2\" style=\"display: none;\"><img src='{$INSTALLER09['pic_base_url']}noposter.png' alt='Poster' title='Poster' /></div>", 1);



maybe that image checker code is still in the source?

=]
i did it pdq but still the same

gram

Quote from: cm27 on June 28, 2011, 04:51:24 AM
first off I bet if you start all over LIKE I DID many times you will find your answer. Second I know Mindless can fix anything if you bring your errors here.. Third if you can not even give us better details then yo need to step away from the coding for a bit and really thing if this is for you. I am not the best coder but I do my best to bring all the info here for help ....  Good luck!
this is not a way to talk to a member m8.

gram

Quote from: putyn on June 28, 2011, 09:25:52 AM
Quote from: cm27 on June 28, 2011, 04:51:24 AM
first off I bet if you start all over LIKE I DID many times you will find your answer. Second I know Mindless can fix anything if you bring your errors here.. Third if you can not even give us better details then yo need to step away from the coding for a bit and really thing if this is for you. I am not the best coder but I do my best to bring all the info here for help ....  Good luck!
thats no way to talk with someone mate :P simply cause he has a problem and he can't explain it doesn't mean he should not code or try to learn

now back to the problem
i understand that you get this huge load time in details ?
if your using my scale function which ive seen it  somewhere - the getimagesize function used, can take a lot of time to execute if you have more then one image in your description so you may look at that

so can you post a quote with the description of the torrent ?
here is the description of torrent

QuoteLethal Weapon (1987) Blu-ray CEE 1080p VC-1 DTS-HDMA 5.1



DISC INFO:

Disc Size:      33 208 771 235 bytes
Protection:     AACS
BD-Java:        No
BDInfo:         0.5.6

PLAYLIST REPORT:

Name:                   00100.MPLS
Length:                 1:49:37 (h:m:s)
Size:                   28 553 299 776 bytes
Total Bitrate:          34,73 Mbps

VIDEO:

Codec                   Bitrate             Description   
-----                   -------             -----------   
VC-1 Video              24044 kbps          1080p / 23,976 fps / 16:9 / Advanced Profile 3

AUDIO:

Codec                           Language        Bitrate         Description   
-----                           --------        -------         -----------   
DTS-HD Master Audio             English         2276 kbps       5.1 / 48 kHz / 2276 kbps / 16-bit
Dolby Digital Audio             French          640 kbps        5.1 / 48 kHz / 640 kbps / DN -4dB
Dolby Digital Audio             German          640 kbps        5.1 / 48 kHz / 640 kbps / DN -4dB
Dolby Digital Audio             Italian         640 kbps        5.1 / 48 kHz / 640 kbps / DN -4dB
Dolby Digital Audio             Polish          640 kbps        5.1 / 48 kHz / 640 kbps / DN -4dB
Dolby Digital Audio             Russian         640 kbps        5.1 / 48 kHz / 640 kbps / DN -4dB
Dolby Digital Audio             Spanish         640 kbps        5.1 / 48 kHz / 640 kbps / DN -4dB
Dolby Digital Audio             Thai            640 kbps        5.1 / 48 kHz / 640 kbps / DN -4dB
Dolby Digital Audio             English         192 kbps        2.0 / 48 kHz / 192 kbps / DN -4dB / Dolby Surround
* Dolby Digital Audio           Japanese        192 kbps        2.0 / 48 kHz / 192 kbps / DN -4dB / Dolby Surround
Dolby Digital Audio             Czech           192 kbps        1.0 / 48 kHz / 192 kbps / DN -4dB
Dolby Digital Audio             Portuguese      192 kbps        1.0 / 48 kHz / 192 kbps / DN -4dB
Dolby Digital Audio             Spanish         192 kbps        1.0 / 48 kHz / 192 kbps / DN -4dB

SUBTITLES:

Codec                           Language        Bitrate         Description   
-----                           --------        -------         -----------   
Presentation Graphics           English         29,239 kbps                   
Presentation Graphics           Bulgarian       23,070 kbps                   
Presentation Graphics           Chinese         24,970 kbps                   
Presentation Graphics           Chinese         39,292 kbps                   
Presentation Graphics           Czech           22,414 kbps                   
Presentation Graphics           Danish          20,194 kbps                   
Presentation Graphics           Dutch           20,973 kbps                   
Presentation Graphics           Finnish         22,554 kbps                   
Presentation Graphics           French          22,776 kbps                   
Presentation Graphics           German          27,885 kbps                   
Presentation Graphics           Greek           22,580 kbps                   
Presentation Graphics           Hebrew          17,939 kbps                   
Presentation Graphics           Italian         31,450 kbps                   
* Presentation Graphics         Japanese        17,724 kbps                   
* Presentation Graphics         Japanese        30,527 kbps                   
* Presentation Graphics         Japanese        2,690 kbps                     
Presentation Graphics           Korean          20,027 kbps                   
Presentation Graphics           Norwegian       16,822 kbps                   
Presentation Graphics           Polish          21,322 kbps                   
Presentation Graphics           Portuguese      24,203 kbps                   
Presentation Graphics           Portuguese      21,837 kbps                   
Presentation Graphics           Russian         24,365 kbps                   
Presentation Graphics           Spanish         24,949 kbps                   
Presentation Graphics           Spanish         24,858 kbps                   
Presentation Graphics           Swedish         17,296 kbps                   
Presentation Graphics           Thai            24,544 kbps                   
Presentation Graphics           Turkish         24,708 kbps




Lethal Weapon 2 (1989) Blu-ray CEE 1080p VC-1 DTS-HDMA 5.1



DISC INFO:

Disc Size: 30,878,523,616 bytes
Protection: AACS
BD-Java: No
BDInfo: 0.5.6

PLAYLIST REPORT:

Name: 00100.MPLS
Length: 1:54:27 (h: m: s)
Size: 28,553,299,776 bytes
Total Bitrate: 34,73 Mbps

VIDEO:

Codec Bitrate Description   
----- ------- -----------   
VC-1 Video 24054 kbps 1080p / 23,976 fps / 16:9 / Advanced Profile 3

AUDIO:

Codec Language Bitrate Description   
----- -------- ------- -----------   
DTS-HD Master Audio English 2276 kbps 5.1 / 48 kHz / 2,276 kbps / 16-bit
Dolby Digital Audio French 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio German 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Italian 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Polish 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Russian 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Spanish 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Thai 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio English 192 kbps 2.0 / 48 kHz / 192 kbps / DN-4dB / Dolby Surround
* Dolby Digital Audio Japanese 192 kbps 2.0 / 48 kHz / 192 kbps / DN-4dB / Dolby Surround
Dolby Digital Audio Czech 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB
Dolby Digital Audio Portuguese 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB
Dolby Digital Audio Spanish 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB

SUBTITLES:

Codec Language Bitrate Description   
----- -------- ------- -----------   
Presentation Graphics English 29,239 kbps                   
Presentation Graphics Bulgarian 23,070 kbps                   
Presentation Graphics Chinese 24,970 kbps                   
Presentation Graphics Chinese 39,292 kbps                   
Presentation Graphics Czech 22,414 kbps                   
Presentation Graphics Danish 20,194 kbps                   
Presentation Graphics Dutch 20,973 kbps                   
Presentation Graphics Finnish 22,554 kbps                   
Presentation Graphics French 22,776 kbps                   
Presentation Graphics German 27,885 kbps                   
Presentation Graphics Greek 22,580 kbps                   
Presentation Graphics Hebrew 17,939 kbps                   
Presentation Graphics Italian 31,450 kbps                   
* Presentation Graphics Japanese 17,724 kbps                   
* Presentation Graphics Japanese 30,527 kbps                   
* Presentation Graphics Japanese 2,690 kbps                     
Presentation Graphics Korean 20,027 kbps                   
Presentation Graphics Norwegian 16,822 kbps                   
Presentation Graphics Polish 21,322 kbps                   
Presentation Graphics Portuguese 24,203 kbps                   
Presentation Graphics Portuguese 21,837 kbps                   
Presentation Graphics Russian 24,365 kbps                   
Presentation Graphics Spanish 24,949 kbps                   
Presentation Graphics Spanish 24,858 kbps                   
Presentation Graphics Swedish 17,296 kbps                   
Presentation Graphics Thai 24,544 kbps                   
Presentation Graphics Turkish 24,708 kbps





Lethal Weapon 3 (1992) Blu-ray CEE 1080p VC-1 DTS-HDMA 5.1



Disc Size: 31,976,430,271 bytes
Protection: AACS
BD-Java: No
BDInfo: 0.5.6

PLAYLIST REPORT:

Name: 00100.MPLS
Length: 1:57:53 (h: m: s)
Size: 28,553,299,776 bytes
Total Bitrate: 34,73 Mbps

VIDEO:

Codec Bitrate Description   
----- ------- -----------   
VC-1 Video 24054 kbps 1080p / 23,976 fps / 16:9 / Advanced Profile 3

AUDIO:

Codec Language Bitrate Description   
----- -------- ------- -----------   
DTS-HD Master Audio English 2276 kbps 5.1 / 48 kHz / 2,276 kbps / 16-bit
Dolby Digital Audio French 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio German 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Italian 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Polish 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Russian 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Spanish 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Thai 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio English 192 kbps 2.0 / 48 kHz / 192 kbps / DN-4dB / Dolby Surround
* Dolby Digital Audio Japanese 192 kbps 2.0 / 48 kHz / 192 kbps / DN-4dB / Dolby Surround
Dolby Digital Audio Czech 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB
Dolby Digital Audio Portuguese 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB
Dolby Digital Audio Spanish 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB

SUBTITLES:

Codec Language Bitrate Description   
----- -------- ------- -----------   
Presentation Graphics English 29,239 kbps                   
Presentation Graphics Bulgarian 23,070 kbps                   
Presentation Graphics Chinese 24,970 kbps                   
Presentation Graphics Chinese 39,292 kbps                   
Presentation Graphics Czech 22,414 kbps                   
Presentation Graphics Danish 20,194 kbps                   
Presentation Graphics Dutch 20,973 kbps                   
Presentation Graphics Finnish 22,554 kbps                   
Presentation Graphics French 22,776 kbps                   
Presentation Graphics German 27,885 kbps                   
Presentation Graphics Greek 22,580 kbps                   
Presentation Graphics Hebrew 17,939 kbps                   
Presentation Graphics Italian 31,450 kbps                   
* Presentation Graphics Japanese 17,724 kbps                   
* Presentation Graphics Japanese 30,527 kbps                   
* Presentation Graphics Japanese 2,690 kbps                     
Presentation Graphics Korean 20,027 kbps                   
Presentation Graphics Norwegian 16,822 kbps                   
Presentation Graphics Polish 21,322 kbps                   
Presentation Graphics Portuguese 24,203 kbps                   
Presentation Graphics Portuguese 21,837 kbps                   
Presentation Graphics Russian 24,365 kbps                   
Presentation Graphics Spanish 24,949 kbps                   
Presentation Graphics Spanish 24,858 kbps                   
Presentation Graphics Swedish 17,296 kbps                   
Presentation Graphics Thai 24,544 kbps                   
Presentation Graphics Turkish 24,708 kbps




Lethal Weapon 4 ( 1998 ) Blu-ray CEE 1080p VC-1 DTS-HDMA 5.1



DISC INFO:

Disc Size: 36,545,614,244 bytes
Protection: AACS
BD-Java: No
BDInfo: 0.5.6

PLAYLIST REPORT:

Name: 00100.MPLS
Length: 2:07:23 (h: m: s)
Size: 28,553,299,776 bytes
Total Bitrate: 34,73 Mbps

VIDEO:

Codec Bitrate Description   
----- ------- -----------   
VC-1 Video 24054 kbps 1080p / 23,976 fps / 16:9 / Advanced Profile 3

AUDIO:

Codec Language Bitrate Description   
----- -------- ------- -----------   
DTS-HD Master Audio English 2276 kbps 5.1 / 48 kHz / 2,276 kbps / 16-bit
Dolby Digital Audio French 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio German 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Italian 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Polish 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Russian 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Spanish 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio Thai 640 kbps 5.1 / 48 kHz / 640 kbps / DN-4dB
Dolby Digital Audio English 192 kbps 2.0 / 48 kHz / 192 kbps / DN-4dB / Dolby Surround
* Dolby Digital Audio Japanese 192 kbps 2.0 / 48 kHz / 192 kbps / DN-4dB / Dolby Surround
Dolby Digital Audio Czech 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB
Dolby Digital Audio Portuguese 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB
Dolby Digital Audio Spanish 192 kbps 1.0 / 48 kHz / 192 kbps / DN-4dB

SUBTITLES:

Codec Language Bitrate Description   
----- -------- ------- -----------   
Presentation Graphics English 29,239 kbps                   
Presentation Graphics Bulgarian 23,070 kbps                   
Presentation Graphics Chinese 24,970 kbps                   
Presentation Graphics Chinese 39,292 kbps                   
Presentation Graphics Czech 22,414 kbps                   
Presentation Graphics Danish 20,194 kbps                   
Presentation Graphics Dutch 20,973 kbps                   
Presentation Graphics Finnish 22,554 kbps                   
Presentation Graphics French 22,776 kbps                   
Presentation Graphics German 27,885 kbps                   
Presentation Graphics Greek 22,580 kbps                   
Presentation Graphics Hebrew 17,939 kbps                   
Presentation Graphics Italian 31,450 kbps                   
* Presentation Graphics Japanese 17,724 kbps                   
* Presentation Graphics Japanese 30,527 kbps                   
* Presentation Graphics Japanese 2,690 kbps                     
Presentation Graphics Korean 20,027 kbps                   
Presentation Graphics Norwegian 16,822 kbps                   
Presentation Graphics Polish 21,322 kbps                   
Presentation Graphics Portuguese 24,203 kbps                   
Presentation Graphics Portuguese 21,837 kbps                   
Presentation Graphics Russian 24,365 kbps                   
Presentation Graphics Spanish 24,949 kbps                   
Presentation Graphics Spanish 24,858 kbps                   
Presentation Graphics Swedish 17,296 kbps                   
Presentation Graphics Thai 24,544 kbps                   
Presentation Graphics Turkish 24,708 kbps





putyn

Quote from: cm27 on June 28, 2011, 04:51:24 AM
first off I bet if you start all over LIKE I DID many times you will find your answer. Second I know Mindless can fix anything if you bring your errors here.. Third if you can not even give us better details then yo need to step away from the coding for a bit and really thing if this is for you. I am not the best coder but I do my best to bring all the info here for help ....  Good luck!
thats no way to talk with someone mate :P simply cause he has a problem and he can't explain it doesn't mean he should not code or try to learn

now back to the problem
i understand that you get this huge load time in details ?
if your using my scale function which ive seen it  somewhere - the getimagesize function used, can take a lot of time to execute if you have more then one image in your description so you may look at that

so can you post a quote with the description of the torrent ?

pdq

details page shouldn't have any code for files other than numfiles :P so it has nothing to do with that unless you've changed the code.

i would comment this out and see if pages load faster:
if (!empty($row["poster"]))
  $HTMLOUT .= tr("{$lang['details_poster']}", "<a href=\"javascript: klappe_news('a2')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica2\" alt=\"[Hide/Show]\" /></a><div id=\"ka2\" style=\"display: none;\"><img src='".$row["poster"]."' alt='Poster' title='Poster' /></div>", 1);
  else
  $HTMLOUT .= tr("{$lang['details_poster']}", "<a href=\"javascript: klappe_news('a2')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica2\" alt=\"[Hide/Show]\" /></a><div id=\"ka2\" style=\"display: none;\"><img src='{$INSTALLER09['pic_base_url']}noposter.png' alt='Poster' title='Poster' /></div>", 1);


maybe that image checker code is still in the source?

=]

cm27

first off I bet if you start all over LIKE I DID many times you will find your answer. Second I know Mindless can fix anything if you bring your errors here.. Third if you can not even give us better details then yo need to step away from the coding for a bit and really thing if this is for you. I am not the best coder but I do my best to bring all the info here for help ....  Good luck!
Never fall to those that just sit there.. Always look for the way to the top even if you have to code it your self and mistakes and all... quote from BonZO...

AMB

Don't use a VPS.. Im saying this from personal experience.

gram

Quote from: Mindless on June 27, 2011, 07:39:48 PM
Well would you try to start to eliminate what its is by systematically commenting out each part of the file like filelist, peerlist every single thing top to bottom bottom to top what ever ye please but do something until you find it then let me know , thats what i expect at least and should have been the first thing carried out - How the hell can you go forward if your no even attempting to identify whats going wrong becuase i sure as fuck aint guessing everytime.
i comment out filelist and peerlist but still the same

Mindless

Well would you try to start to eliminate what its is by systematically commenting out each part of the file like filelist, peerlist every single thing top to bottom bottom to top what ever ye please but do something until you find it then let me know , thats what i expect at least and should have been the first thing carried out - How the hell can you go forward if your no even attempting to identify whats going wrong becuase i sure as fuck aint guessing everytime.

gram

i dont have error mindless
the server have 1gb ram

Mindless

#7
Your server no mine dont ask silly question gram. Provide an error and i'll fix it - provide nothing but lol well what ye expecting, i know source code and i know theres fuck all in that code causing that, let me see all the people running it and your the only one - hmm tells another story.