Search through our group's posts (events, discussions, jobs, etc.) and their comments here. Results are displayed in order of post date. Use the pager below to browse results.
What would the minumum parameter for drupal_bootstrap needed for an ajax call to a drupal url which points to a callback that only has a return statement in it
Any reason why having a javascript timer fire every 2.5 second for an ajax
request to my own callback(listed below) that all it does is return the
contents of 2 _session variables would take up so much resources?
function refreshcarttimer() {
print($_SESSION['num_items'] . ',' . $_SESSION['uc_price']);
return;
}
/**
* Implementation of hook_menu().
*/
function product_type_menu() {
$items = array();
Read more Varnish Cache - Breakfast Seminar
I would like to invite all Varnish Cache users to join us in our seminar round in New York City on March 11th from 8 to 10 (right after DrupalCon in Chicago).
The agenda will cover the following:
* What is Varnish, what it can do for you and how it solves some real-world problems. By OmniTI
* Usage of Varnish at the NYTimes. By The New York Times
* The future: Varnish 3.0. By Varnish Software
Discussion of Step-by-step: Setting up Project Mercury
I'm just experimenting with Varnish & Drupal 7 now and am getting stuck here:
http://groups.drupal.org/pantheon/mercurywiki#config-apache-varnish
I want to set this up in a environment on debian that uses both D6 & D7 sites. I'm not looking to use pressflow, but understand that this shouldn't be required with the changes in D7.
3a) The whole /etc/apache2/ports.conf
Listen 80
Listen 443
Listen 8080b) The top of /etc/apache2/sites-available/default
ServerName dev.openconcept.ca
NameVirtualHost *:8080
...c) for D7:
Drupal Programmer essential skills
Hi Guys,
Read moreClear cached node pages at node creation
Hi,
Maybe this is a silly question, but i just realized that the varnish module is clearing all my varnish cached objects instead just the ones affected at node creation ( the front page if it promoted, the node's taxonomy, etc), is this a normal behavior ?
There is a way for remove just the affected pages ?
Read moreBatch API without a browser
I already use code that does batch processing in the background (no browser window used) in any hosting environment. The question is would something like this be useful to the Drupal community; if yes how can one override Drupal's batch operations to use my processor.
Read moreKernel killing varnish process due to out-of-memory issue
We're having an issue on our Mercury installation where Varnish will unexpectedly and require a manual restart -- this is obviously a pretty big deal given that our site effectively goes down until it is remedied. A look at the syslog reveals the following:
Feb 14 02:17:06 ip-xx-xx-xx-xx kernel: Out of Memory: Kill process 4493 (vshd) score 356911 and children.
Feb 14 02:17:06 ip-xx-xx-xx-xx kernel: Out of memory: Killed process 4493 nishd).Imagecache image sprite
Nutty idea of mine. Have an imagecache image sprite module. But you say you can't use a sprite in an img tag. That is incorrect because we currently do that. Proof: http://bellevue.komonews.com/business-directory Do an inspect element on the deals image. Cool eh? (location hint pic)
Read moreAPC Settings / Performance - Full Cache and Fragmentation
Just installed APC on a server that hosts just a few sites. I also enabled the Cache Router module on one site, and each site has Boost running. Originally I installed APC 3.1.6 but apparently there is an issue with that version and it doesn't load Drupal modules into Cache. So everything looked good, but I upgraded to 3.1.7 and now there are many more files being loaded into cache (good) but I'm filling up the cache and getting fragmentation as well.
I've attached a printout of apc.php but here are my current settings.
apc.cache_by_default 1
apc.canonicalize 1
Everything going the wrong way
Hi everybody,
I am working on a Drupal site that needs to be quite fast. I must mention it is using Domain Access, and TAC. I've been trying to setup Memcache and Varnish in an effort to improve the general performance of the site, but things have been going downhill rather than uphill. I am using Pressflow, though it was originally an Acquia install (I just overwrote the files). Here are a few numbers :
Anonymous : regular cache : 41 #/s (cache normal in preferences)
Read more 

