InMotion Hosting Support Center

Warning: Error while sending QUERY packet. PID=929743

Category: Wordpress

n/a Points
2017-04-15 9:30 am EST

Hits: 25,851
I experienced an error "Warning: Error while sending QUERY packet. PID=929743 in /home/........./public_html/wp-includes/wp-db.php on line 1877", resulting in a very sluggish wordpress website performance.
It might be due to resource restrictions and I am currently already on highest plan of Shared Business Hosting Pro Plan. Please advise what can be done to avoid/resolve this? thanks.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2017-04-17 1:45 pm EST

Sorry to hear you are getting the "Error while sending QUERY packet' message. The best we can tell, this has to do with the max_allowed_packet_size. This should be able to be set via the php.ini file. You may find more information at this post regarding the issue.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Thanks Scott. Will i be able to adjust the max_allowed_packet_size if i'm currently in Inmotion's Wordpress Web Hosting Pro Plan? If not, which plan will allow adjustment to the packet size? thanks.
3 Points
2017-04-18 1:35 am EST
Yes, you should be able to edit that via the php.ini file.
11,130 Points
2017-04-18 3:14 pm EST
dear support,
can youy show the example?
I got the same problem.

and max_allowed_packet_size is parameter in mysql ( how can we put it on php.ini?

3 Points
2017-08-11 10:23 pm EST
The link Scott provided indicates to make the max_allowed_packet size modification via your /etc/my.cnf file. This is the configuration file for MySQL and can only be modified with root level access. Step 5, in our article How to Change MySQL Server Time Zone, explains how to modify your my.cnf file. I hope this helps!
3,862 Points
2017-08-14 1:35 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!