How to Fix Sluggish Node Adds & Edits in Drupal

willfe's picture

This probably won’t be very interesting to the majority of my readers, but I throw it out there just in case anyway. If you’ve noticed that it’s suddenly taking forever and a day to submit a new node or save an edit to an existing one on a Drupal installation, check out the “Search Engines” page of the settings panel for a module called “XML Sitemap.” Naturally, if you’re not using that module, this doesn’t apply. Anyway, turn off “Submit site map when updated” and turn on “Submit site map on cron run.” This stops a rather painful process from slowly killing your server every time you update the sitemaps by adding or editing nodes — instead of updating them every time anything changes, that process gets moved to the cron runs, so your edits and adds run at normal speed.

Whew. I was beginning to think something was wrong with my installation or my webhost.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.
  • You can use Markdown syntax to format and style the text.
CAPTCHA
This question is here to test whether you are a human visitor and to prevent automated spam submissions.
1 + 15 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.