131 reputation
6
bio website
location York, United Kingdom
age
visits member for 3 years, 2 months
seen yesterday

1d
accepted Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower
2d
comment Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower
Printing is fast when I first run pdftops on the file and print the resulting ps directly. Will look into that.
2d
comment Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower
I've compared pdf2ps and pdftops, and the former is what is so slow. So how can I tell cups to use the latter?
2d
comment Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower
This seems to be an issue with "pdf2ps". I've tried setting the default renderer to "pdftops" which is faster, but printing seems to ignore the setting.
2d
comment Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower
Note that looking at the process list, the slowdown does appear to be ghostscript processing the file. Any suggestions on how to improve this?
2d
comment Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower
The lp command runs quickly. It's the daemon that processes the file that takes so long. How do I strace that?
2d
asked Upgrade to Wheezy - CUPS printing to lpd printers is 6x slower
May
20
awarded  Popular Question
Mar
24
comment I'm looking for information on tuning the performance of starman-driven websites with nginx
FWIW, I've found it's best not to use the keepalives setting for nginx upstreams with Starman, since nginx will hold onto connections, and this delays reloading starman when there are code changes.
Mar
19
asked I'm looking for information on tuning the performance of starman-driven websites with nginx
Feb
14
awarded  Critic
Feb
14
comment How to convert a string to integer in Puppet?
Puppet doesn't do that when the value comes from hiera. You get a "Error 400 on SERVER: comparison of Fixnum with String failed" error.
Feb
14
accepted Does /etc/fstab need to be world readable?
Feb
14
comment Does /etc/fstab need to be world readable?
@SvW: I've tried this, and it seems to work. Thanks.
Feb
14
comment Does /etc/fstab need to be world readable?
It should be pretty obvious what what that means.
Feb
14
comment Does /etc/fstab need to be world readable?
So why is it alright for the credentials file to be locked down, but not /etc/fstab?
Feb
14
asked Does /etc/fstab need to be world readable?
Feb
3
comment nginx loadbalancer is redirecting to the wrong port
@MichaelHampton The application is redirecting as if the user agent is connected directly to it, which is what the application should be doing. nginx is rewriting the Location headers in redirects, but it is not changing the port. So it seems that the problem is nginx or how it is configured.
Jan
31
comment nginx loadbalancer is redirecting to the wrong port
@MichaelHampton Can you be more specific? Is there some header that the application should be sending? From a web search, this seems like a common problem with nginx, but none of the suggested solutions appear to work.
Jan
31
asked nginx loadbalancer is redirecting to the wrong port