Empty sequence id!

w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Sat, 2012-04-21 17:45

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

When I use "Maintenance Mode", I see a lot of errors. Please open attachment. Can you tell me how to eliminate those errors if you know? thank you very much.

AttachmentSize
G2_error.txt481.9 KB
 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2012-04-21 17:53
... MySQL server has gone away

Ask your host to help convince the MySQL server to come back.
--
dakanji.com

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Sat, 2012-04-21 18:42
Quote:
.. MySQL server has gone away
Ask your host to help convince the MySQL server to come back.

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

Hi Dayo,
Thank you for fast reply. MySQL server still is here. My question is: How to eliminate "Empty sequence id" problem? Do you know how?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-04-22 04:45
Quote:
MySQL server still is here.

From your logs it was not for over 100 times!
[img]http://gallery.menalto.com/files/gone_away.png[/img]
hard to keep a DB intact with the DB going on so may vacations.
The way to eliminate the sequence id issue is to convince the DB server to stay and work for you.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2012-04-22 15:37

All these issues you are having are to do with problems with your server and you have to refer them to your host.

Your error log shows that you are getting several MySQL Error Code 2006 errors (MySQL Server Has Gone Away). There are specific issues that lead to this error such as timeouts and you have to refer this problem to your host as it generally needs changes in the MySQL settings and rebooting MySQL.

--
dakanji.com

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Sun, 2012-04-22 16:47

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

Dave,

Thank you for your explanation, yes, it is hard to keep a DB intact with the DB. As Dayo's suggestion, let me contact my host (Arvixe) to see if they are able to fix DB problem.

Sincerely,
Wong

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Sun, 2012-04-22 16:52

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

Dayo,

Yes, I just see several "MySQL Error Code 2006 errors (MySQL Server Has Gone Away)" in my error log. I shall contact Arvixe- my host to see if they are able to help. If it is resolved, I shall let you know how.

Thank you very much....

Wong Siu

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Mon, 2012-04-23 20:26

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

Finally I got an email from Arvixe (our host) as the following:
--------------------------------------------------------------------
Hello,

I have checked your account is hosted on shared server and we have some standard settings on our shared server for MYSQL and these settings cannot be changed or modified. If you wish to make any changes to MYSQL server then you will need to upgrade your hosting package to VPS accounts.

For more information on our VPS plans please go through following link.

https://www.arvixe.com/vps_virtual_private_servers_hosting

Let me know if you still have any further questions.

Sameer Vadnere
Jr. Technical Operations Officer
http://www.arvixe.com
---------------------------------------------------------------
Since our alumni reunion association is a non-profit organization, we shall not be able to offer another expensive VPS plan as Arvixe's suggestion. We are very disappoint that they are not able to fix MYSQL problem for our existing Business Class plan including unlimited disk space and unlimited data transfer.

Is there any better hosting service special for the Gallery 2/3?

Thank you in advance.

Wong Siu

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Tue, 2012-04-24 14:46

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

I am told that Gallery 2 is no longer in use. I do not understand what the support guy from my host is talking as the following email:

-----------------------------------------------------------------
Hello,

Unfortunately the message you are referring to is rather dated and refers to software that is no longer in use. For instance the MySQL version is 5.0 and 5.1.
At this time to take advantage of caching software, it does require a VPS or higher, so that was the correct course of action if you would like to have caching software installed.
Please let us know how to continue.

Thank you,

Richard King
Technical Operations Officer
http://www.arvixe.com
Arvixe, LLC
----------------------------------------------------------

Do you know the Gallery 2 requests any caching software? Please let us know.

Thanks,
Wong Siu

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Tue, 2012-04-24 14:46

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

I am told that Gallery 2 is no longer in use. I do not understand what the support guy from my host is talking as the following email:

-----------------------------------------------------------------
Hello,

Unfortunately the message you are referring to is rather dated and refers to software that is no longer in use. For instance the MySQL version is 5.0 and 5.1.
At this time to take advantage of caching software, it does require a VPS or higher, so that was the correct course of action if you would like to have caching software installed.
Please let us know how to continue.

Thank you,

Richard King
Technical Operations Officer
http://www.arvixe.com
Arvixe, LLC
----------------------------------------------------------

Do you know the Gallery 2 requests any caching software? Please let us know.

Thanks,
Wong

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2012-04-25 01:06
Quote:
Gallery 2 is no longer in use

News to us!

G2 is still in use and was just recently updated to Gallery 2.3.2 just this month.
G2 does not require caching software and if he can show us that requirement we would like to know.
Seems to me that Arvixe just wants more of your $.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Thu, 2012-04-26 21:09

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

Quote:
G2 is still in use and was just recently updated to Gallery 2.3.2 just this month.
G2 does not require caching software and if he can show us that requirement we would like to know.
Seems to me that Arvixe just wants more of your $.
Dave

Dave,

After I read your message, I emailed Arvixe Support and asked about that requirement of Caching Software. I get the following respond from them.
-----------------------------------------------------------------------------
Hello,

I have gone through mysql logs and found following log entries:

http://stats.gorilla.arvixe.com/hktaitun_mysql_usage

Your mysql usage is extremely high and its from last several months. When your mysql activity starts overloading the mysql, the mysql access is restricted temporarily and you start receiving mysql error. As your site is having extensive mysql activity so I would suggest upgrading to higher plan to have more resources available to your account.

By caching software, Richard meant any PHP caching extension like APC/xcache or you can check with Gallery2 if they have any caching plugin like wordpress to reduce the overall resource usage.

Regards

Zee S.
Sr. Technical Operations Officer
http://www.arvixe.com
Arvixe, LLC
---------------------------------------------------------------------------------------------

I have 3 question:
1) Does G2 has any caching plugin like wordpress?

3 days ago, I already did following instructions as
http://codex.gallery2.org/Gallery2:FAQ#How_can_I_clear_cached_data.3F (How can I clear cached data?) to clear cached data, will it be helpful?

2) How to eliminate Gallery's MySQL errors due to overload MySQL? Like you mentioned:"hard to keep a DB intact with the DB going on so may vacations." That means there is not any way to eleimate MYSQL errors, correct?

3) Should we upgrade to Gallery 2.3.2?

Thanks in Advance.
Wong

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-04-26 22:38

http://codex.gallery2.org/Gallery2:Performance_Tips

if your gallery does not change often or few new items try Gallery Admin -> Performance -> Acceleration

-s

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-04-26 22:59
Quote:
Your mysql usage is extremely high

looking at your site you seem to have a sidebar block of 'latest albums' and a footer block of 'latest items'. Those could be contributing to your mysql usage. I'm not sure if Gallery Admin -> Performance -> Acceleration help with those or not but it is worth a shot as it will help other aspects.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team