Upgrading multiple modules at once crashes the process Just upgraded from 7.18 to 7.23 and selected to upgrade all modules and all I got is neverending 'Preparing to update your site' on Installing updates page on /authorize.php?batch=1&amp;op=start&amp;id=40

So what if I refresh page or something will the site crash or something?

UPDATE: It just crashed after like 20 minutes of nothing and I got this error:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /authorize.php?batch=1&amp;id=40&amp;op=do StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {queue} WHERE (item_id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] =&gt; 8656 ) in SystemQueue-&gt;deleteItem() (line 273 of /modules/system/system.queue.inc).Uncaught exception thrown in shutdown function.PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: UPDATE {batch} SET batch=:db_update_placeholder_0 WHERE (bid = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] =&amp;gt; a:12:{s:4:&amp;quot;sets&amp;quot;;a:1:{i:0;a:15:{s:7:&amp;quot;sandbox&amp;quot;;a:0:{}s:7:&amp;quot;results&amp;quot;;a:2:{s:3:&amp;quot;log&amp;quot;;a:1:{s:5:&amp;quot;views&amp;quot;;a:1:{i:0;a:2:{s:7:&amp;quot;message&amp;quot;;s:57:&amp;quot;Installed &amp;lt;em class=&amp;quot;placeholder&amp;quot;&amp;gt;views&amp;lt;/em&amp;gt; successfully&amp;quot;;s:7:&amp;quot;success&amp;quot;;b:1;}}}s:5:&amp;quot;tasks&amp;quot;;a:0:{}}s:7:&amp;quot;success&amp;quot;;b:0;s:5:&amp;quot;start&amp;quot;;d:1377856599.71076107025146484375;s:7:&amp;quot;elapsed&amp;quot;;i:0;s:5:&amp;quot;title&amp;quot;;s:18:&amp;quot;Installing updates&amp;quot;;s:12:&amp;quot;init_message&amp;quot;;s:40:&amp;quot;Preparing to update your site&amp;lt;br/&amp;gt;&amp;amp;nbsp;&amp;quot;;s:8:&amp;quot;finished&amp;quot;;s:38:&amp;quot;update_authorize_update_batch_finished&amp;quot;;s:4:&amp;quot;file&amp;quot;;s:35:&amp;quot;modules/update/update.authorize.inc&amp;quot;;s:16:&amp;quot;progress_message&amp;quot;;s:29:&amp;quot;Completed @current of @total.&amp;quot;;s:13:&amp;quot;error_message&amp;quot;;s:22:&amp;quot;An error has occurred.&amp;quot;;s:3:&amp;quot;css&amp;quot;;a:0:{}s:5:&amp;quot;total&amp;quot;;i:12;s:5:&amp;quot;count&amp;quot;;i:12;s:5:&amp;quot;queue&amp;quot;;a:2:{s:4:&amp;quot;name&amp;quot;;s:17:&amp;quot;drupal_batch:40:0&amp;quot;;s:5:&amp;quot;class&amp;quot;;s:10:&amp;quot;BatchQueue&amp;quot;;}}}s:16:&amp;quot;has_form_submits&amp;quot;;b:0;s:11:&amp;quot;current_set&amp;quot;;i:0;s:11:&amp;quot;progressive&amp;quot;;b:1;s:3:&amp;quot;url&amp;quot;;s:36:&amp;quot;/authorize.php?batch=1&amp;quot;;s:11:&amp;quot;url_options&amp;quot;;a:0:{}s:10:&amp;quot;source_url&amp;quot;;s:0:&amp;quot;&amp;quot;;s:8:&amp;quot;redirect&amp;quot;;s:28:&amp;quot;/authorize.php&amp;quot;;s:5:&amp;quot;theme&amp;quot;;s:5:&amp;quot;seven&amp;quot;;s:17:&amp;quot;redirect_callback&amp;quot;;s:11:&amp;quot;drupal_goto&amp;quot;;s:2:&amp;quot;id&amp;quot;;s:2:&amp;quot;40&amp;quot;;s:13:&amp;quot;error_message&amp;quot;;s:110:&amp;quot;Please continue to &amp;lt;a href=&amp;quot;/authorize.php?batch=1&amp;amp;amp;id=40&amp;amp;amp;op=finished&amp;quot;&amp;gt;the error page&amp;lt;/a&amp;gt;&amp;quot;;} [:db_condition_placeholder_0] =&amp;gt; 40 ) in _batch_shutdown() (line 537 of /includes/batch.inc).
If you have drush try running drush updatedb.

Errors you are getting you should restore backup of your site and update modules one by one.

You can also login phpmyadmin and try to optimize and cleanup mysql if you don't have a copy as it seems your db is crashing and it could be pending database updates. If you don't have drush try going to yoursite.com/update.php to run db updates. 

If at all possible use drush for managing your site gives you option to update as well as rollback any updates.