Title: WARNING: Error while sending QUERY packet. PID=
Last modified: July 3, 2017

---

# WARNING: Error while sending QUERY packet. PID=

 *  Resolved [AardvarkGirl](https://wordpress.org/support/users/aardvarkgirl/)
 * (@aardvarkgirl)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/warning-error-while-sending-query-packet-pid/)
 * For months now I’ve been getting this error. I have BackWPup installed on several
   WordPress sites I host within my reseller account on InMotion Hosting.
 * I have BackWPup installed on several websites. Today for the first time I am 
   getting this error.
 * Both websites are on the same host (InMotion), and have been there for the past
   year + with out problem. Both have various plugins installed but share WordFence.
   Neither have SSL. All are running one of the ‘native’ WordPress themes.
 * For both I have two jobs, one for just the database (which runs fine, no errors)
   and another for the entire website, which creates the errors.
 * One website gave me this error: WARNING: Error while sending QUERY packet. PID
   =932588
 * The other one gave me this error:
 * This is what one of the emailed logs says:
 *     ```
       [INFO] Log Level: Normal
       [INFO] BackWPup job: Entire Website
       [INFO] Logfile is: backwpup_log_7e941b_2017-01-17_17-19-11.html
       [INFO] Backup file is: backwpup_7e941b_2017-01-17_17-19-11.zip
       [17-Jan-2017 17:19:11] 1. Try to backup database …
       [17-Jan-2017 17:19:11] Connected to database DBNAMEHERE on localhost
       [17-Jan-2017 17:19:12] Added database dump “DATABASENAMEHERE.sql” with 3.82 MB to backup file list
       [17-Jan-2017 17:19:12] Database backup done!
       [17-Jan-2017 17:19:12] 1. Trying to make a list of folders to back up …
       [17-Jan-2017 17:19:13] Added “wp-config.php” to backup file list
       [17-Jan-2017 17:19:13] 338 folders to backup.
       [17-Jan-2017 17:19:13] 1. Trying to generate a file with installed plugin names …
       [17-Jan-2017 17:19:13] Added plugin list file “DATABASENAME.pluginlist.2017-01-17.txt” with 1.98 KB to backup file list.
       [17-Jan-2017 17:19:13] 1. Trying to generate a manifest file …
       [17-Jan-2017 17:19:13] Added manifest.json file with 4.79 KB to backup file list.
       [17-Jan-2017 17:19:13] 1. Trying to create backup archive …
       [17-Jan-2017 17:19:13] Compressing files as ZipArchive. Please be patient, this may take a moment.
   
       [17-Jan-2017 17:20:37] WARNING: Error while sending QUERY packet. PID=612967
       [17-Jan-2017 17:22:50] WARNING: Error while sending QUERY packet. PID=619980
       [17-Jan-2017 17:24:53] ERROR: Aborted by user!
   
       [17-Jan-2017 17:24:55] ERROR: Job has ended with errors in 344 seconds. You must resolve the errors for correct execution.
       ```
   
 * When I run the job (back up complete website) it stalls out around 50 -60 % and
   will not complete.
 * Actually, I just tried to run it on a 3rd website, and I get this error:
 *     ```
       [INFO] BackWPup 3.3.4; A project of Inpsyde GmbH
       [INFO] WordPress 4.7.1 on http://WEBSITE HERE
       [INFO] Log Level: Normal
       [INFO] BackWPup job: Entire Website
       [INFO] Logfile is: backwpup_log_b6df1b_2017-01-17_18-33-18.html
       [INFO] Backup file is: backwpup_b6df1b_2017-01-17_18-33-18.zip
       [17-Jan-2017 18:33:18] 1. Try to backup database …
       [17-Jan-2017 18:33:18] Connected to database VVV on localhost
       [17-Jan-2017 18:33:27] Added database dump “VVV” with 12.73 MB to backup file list
       [17-Jan-2017 18:33:27] Database backup done!
       [17-Jan-2017 18:33:30] 1. Trying to make a list of folders to back up …
       [17-Jan-2017 18:33:34] Added “wp-config.php” to backup file list
       [17-Jan-2017 18:33:34] 487 folders to backup.
       [17-Jan-2017 18:33:37] 1. Trying to generate a file with installed plugin names …
       [17-Jan-2017 18:33:38] Added plugin list file “VVVe.pluginlist.2017-01-17.txt” with 1.89 KB to backup file list.
       [17-Jan-2017 18:33:38] 1. Trying to generate a manifest file …
       [17-Jan-2017 18:33:38] Added manifest.json file with 5.06 KB to backup file list.
       [17-Jan-2017 18:33:38] 1. Trying to create backup archive …
       [17-Jan-2017 18:33:38] Compressing files as ZipArchive. Please be patient, this may take a moment.
       [17-Jan-2017 18:38:20] WARNING: Error while sending QUERY packet.
       [17-Jan-2017 18:38:20] WARNING: Error while sending QUERY packet. PID=1005757
       [17-Jan-2017 18:40:42] WARNING: Error while sending QUERY packet. PID=1013622PID=1005757
       ```
   
 * I found this thread but didn’t seem to find an answer.
 * [https://wordpress.org/support/topic/warning-error-while-sending-query-packet-pid82827/page/3/](https://wordpress.org/support/topic/warning-error-while-sending-query-packet-pid82827/page/3/)
 * EDITED TO ADD: I disabled WordFence on the first website to throw the error, 
   and then ran the backup job for “Entire Website” and it did not produce the error.
 * I then tried removing WordFence on a 4th website and I’m getting the similar 
   error:
 * > WARNING: Error while sending QUERY packet. PID=61204

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Brandon Olivares](https://wordpress.org/support/users/cocreation/)
 * (@cocreation)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/warning-error-while-sending-query-packet-pid/#post-9292072)
 * [@aardvarkgirl](https://wordpress.org/support/users/aardvarkgirl/), the most 
   likely culprit seems to be either max_allowed_packet or wait_timeout in MySQL.
   Could you ask your host to increase these variables and see if that helps? There’s
   nothing you can do within BackWPup itself.
 *  Plugin Contributor [Brandon Olivares](https://wordpress.org/support/users/cocreation/)
 * (@cocreation)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/warning-error-while-sending-query-packet-pid/#post-9316776)
 * [@aardvarkgirl](https://wordpress.org/support/users/aardvarkgirl/), has this 
   issue been resolved for you? If so, please mark the topic as resolved.
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/warning-error-while-sending-query-packet-pid/#post-9359688)
 * Hi [@aardvarkgirl](https://wordpress.org/support/users/aardvarkgirl/),
    since
   we haven’t heard back from you, I’m going to mark it as resolved. If you’re still
   having problems, feel free to let us know ;), Cuong

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WARNING: Error while sending QUERY packet. PID=’ is closed to new replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/warning-error-while-sending-query-packet-pid/#post-9359688)
 * Status: resolved