Any help or direction about where I can check would be great.

I have a Drupal/Pressflow and Varnish set up and it worked fantastic till yesterday. Now when adding any content type the browser never gets a return page from the server. I submit and then it just waits. When I look at the content list it does indeed post though. I have looked through every log I can find and so far I don't see anything. Oh the Varnish Stats and config page, from the Varnish module, do not load at all either. I read some posts about setting the time out higher but I can't change this because the page won't load. I was thinking that I could change the Varnish timeout in the database but it there is not a Varnish table. This made me wonder where the varnish info is being stored? Anyone know?

I'll continue to comb through logs and read forum posts but any help or advice would be awesome.

Comments

fabsor’s picture

Status: Active » Needs review

Hi!

This is most definitely because Varnish tries to connect and it has a very high timeout. I though we fixed this timeout earlier...

You can set the variable through drush if you use "drush vset varnish_socket_timeout VALUE"If you are running on a different server, you can also change that variable through "drush vset varnish_control_terminal YOURHOST" and see if you can get to connect.

granttoth’s picture

Status: Needs review » Closed (works as designed)

I upgraded to Varnish 3 and aside from some lingering config issues it is working well. Thank you.

RandyK’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Closed (works as designed) » Active

(Do we need to re-open the bug to ask more questions?)

I'm not 100% sure, but I think I still may be seeing the same/related issue. I've posted what the details of the timeout, logs, vcl, etc @

"D7 on nginx/ssl+varnish+apache stack works, except when creating new content."
https://drupal.org/node/1571680

I can make the problem go away by removing Varnish from use. So far I haven't figured out any value for timeouts that works. Changing 'varnish_socket_timeout' from 100 to 10000 ms doens't make any difference -- same problem.

As an additional experiment, I swapped in the Lullabot, halcyonCorsai & FourKitchens VCLs from https://drupal.org/node/1196916. In each case, the behavior's the same -- I can't 'add content'.

Let's start with the question -- Is 'my' issue the same as, or related to, this one?

EDIT:

The culprits here are Expire/Purge modules, and use of Expire cache:

Disabling EXPIRE & PURGE modules fixes inabilty to add content
https://drupal.org/node/1571680#comment-5990994

RandyK’s picture

Status: Active » Closed (won't fix)
Marko B’s picture

Issue summary: View changes

Try this one out. This is what helped me. adding a POST to exceptions, more here
http://drupaldump.com/varnish-makes-forms-node-addedit-timeout-or-not-su...