Canon Digital Photography Forums  

P.O.T.N. SUPPORT SHOP IS OPEN, check it out now!

Go Back   Canon Digital Photography Forums > Exhibit Engine > Version 1.0-1.5 discussion
Register Rules FAQ Members List Search Today's Posts Mark Forums Read



Reply
 
Thread Tools Display Modes
Old 1st of August 2004 (Sun)   #1
msoo
Member
 
Join Date: Mar 2004
Location: Cupertino, CA
Posts: 84
Default ImageCheck slogging...what can I do?

I check the stats page. It points out that ImageCheck is faulty and takes a long time to respond. What is ImageCheck and how do I tell my web hosting company about this problem?

Thanks,
Michael Soo
msoo is offline   Reply With Quote
This ad block will go away when you log in as member
Old 2nd of August 2004 (Mon)   #2
msoo
Member
 
Join Date: Mar 2004
Location: Cupertino, CA
Posts: 84
Default really need help with this...anyone?

Pekka, any idea?

- MS
msoo is offline   Reply With Quote
Old 2nd of August 2004 (Mon)   #3
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,088
Default

It may be a server firewall setup problem, or older PHP (this function has bugs in most old PHP versions). It is not essential to EE, it's a way to fetch image size which is needed by some features in EE.
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------
Pekka is online now   Reply With Quote
This ad block will go away when you log in as member
Old 2nd of August 2004 (Mon)   #4
wkitty42
Member
 
wkitty42's Avatar
 
Join Date: Jan 2004
Location: Central, North Carolina, USA
Posts: 399
Default

Quote:
Originally Posted by Pekka
It may be a server firewall setup problem, or older PHP (this function has bugs in most old PHP versions). It is not essential to EE, it's a way to fetch image size which is needed by some features in EE.
FWIW: this operation is pretty slow in my stats, too... i have a pretty new PHP version (latest bugfix IIRC) and there's no firewall running between my web server and my mysql server... however, my webserver is a Pentium II 266mhz and my mysql server is a Pentium 200mhz no-MMX... they are connected by a dedicated cable on 10mb cards... it is possible that the speed of the server (which one?) is part of the problem, right?
wkitty42 is offline   Reply With Quote
Old 2nd of August 2004 (Mon)   #5
msoo
Member
 
Join Date: Mar 2004
Location: Cupertino, CA
Posts: 84
Default

Quote:
Originally Posted by Pekka
It may be a server firewall setup problem, or older PHP (this function has bugs in most old PHP versions). It is not essential to EE, it's a way to fetch image size which is needed by some features in EE.
I talked to the tech support people at my web hosting company LunarPages and they have NO IDEA what ImageCheck is. How do I explain this?

- MS
msoo is offline   Reply With Quote
Old 3rd of August 2004 (Tue)   #6
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,088
Default

The problem is Getimagesize() function in PHP.
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------
Pekka is online now   Reply With Quote
Old 3rd of August 2004 (Tue)   #7
msoo
Member
 
Join Date: Mar 2004
Location: Cupertino, CA
Posts: 84
Default not the problem, it seems

Hi Pekka,

It doesn't seem like the problem with the getimagesize(). I tested it with the following code:

<code>
<?
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}

$time_start = getmicrotime();

for ($i=0; $i < 3; $i++) {
$test = getimagesize('test.jpg');
}

$time_end = getmicrotime();
$time = $time_end - $time_start;

echo "Did $i tests in $time seconds";

?>
</code>

and it returned the results in 0.000xx seconds. Look at my stats page...it's horrendous.

http://www.soocool.com/pub/slow/

Argh...Help!!!

- MS
msoo is offline   Reply With Quote
Old 3rd of August 2004 (Tue)   #8
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 14,088
Default

If the image is checked through URL the case might be very different especially if the image is not on home server. Try getting size on any image on my gallery - it should be quite fast.

If you have problems with image size checking the turn it off by all means, in misc settings editor: global settings / When image file is not found to "1".
__________________
This signature signifies my significance significantly
Photo Gallery

----------------------------
Pekka is online now   Reply With Quote
Old 29th of September 2006 (Fri)   #9
rogerattrill
Junior Member
 
Join Date: Sep 2006
Posts: 1
Lightbulb Re: ImageCheck slogging...what can I do?

Well I was having similar problems - pictures were just not being displayed in my ee gallery ( www.eye-shot.co.uk ) - I did all the suggestions - well it did at least allow to see the images but it was still taking an absolute AGE.

Eventually whilst looking at the Server Info - I noticed that the uncookied data saved to disc was a massive 358 Mb - I don't think I even have 358 Mb available on my server!

Well, I hit the 'Purge uncookied data' option to remove all uncookied data - Lo and behold everything sped up to almost instantaneous speed again.

Not only that, but I was also using the same MySQL server (different database obviously) for a coffee retail business online ( http://www.coffeo.co.uk ) and this site has also now sped up dramatically - both in terms of customer use and admin. The slowness could well have cost me lost sales and may explain missing information due to timeouts during checkout.

AAAAAARRRRGGGHH - how long have I have put up with slow databases on my site because I just thought MySQL was slow. Little did I know that there was 358Mb of data lying around slowing everything up!! I still don't understand WHY this had so much impact on everything so if anyone can explain things to me a bit more I'd appreciate it.

Everything's sweet now though - I just wanted to share this information with anyone else who visits this thread wondering [the following should help google pick up this thread if anyone is searching for a resolution to this problem] why Exhibit Engine is slogging, chugging, blocking, failing, taking too long, being very slow, not showing images or doesn't allow viewers to see the photos due to timing out. [that should do it!]

Regards
Roger Attrill

www.Eye-Shot.co.uk
www.Coffeo.co.uk
www.Where4ArtThou.co.uk
rogerattrill is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clogging and slogging in the mud... gmen Sports 2 30th of January 2005 (Sun) 01:48


All times are GMT -5. The time now is 04:31.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This forum is not affiliated with Canon in any way and is run as a free user helpsite by Pekka Saarinen, Helsinki Finland. You will need to register in order to be able to post messages. Cookies are required for registering and posting. HTML in messages is not allowed, plain website addresses are automatically made active by the board.