Displaying 20 results from an estimated 1000 matches similar to: "Memory Usage after upgrading to pre-release and removing sendfile"
2006 Jul 27
7
suspicious memory usages
Following is the output of top command at my server and i find the high
usage very much alarming.
We are basically a team of three developers working on same
machine(remotely), so we run mongrel_rails servers from out ~/public/app
directories.
We also run a cluster of mongrel servers using apache2.2.
Is this much memory use normal?
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
2007 Dec 07
1
Ruby on Rails applications with Mongrel cluster
Hello All
I am trying to install 5 mongrel servers against my app. i am using
Vista. I found this article on a website.. but am stuck on one point.
here are some notes from article:
Now enable the needed modules (url rewriting, proxy, proxy_balancer e
proxy_http) by editing the httpd.conf file (under c:
\Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in
its standard path).
2007 Nov 28
1
error when accessing
Hi!
I would like to appologize first if this is the wrong place to post
this.
I have been studying ruby on rails for a couple of days now. And I have
this problem on accessing a site. The error on the production.log is
ActionController::RoutingError (no route found to match "/" with
{:method=>:get}):
I have mongrel_rails behind apache2.2. I also have another site which
works fine
2006 May 18
0
I''ve found a decent ruby + rails graphing solution!!
I''ve searched far and wide for a decent graphing solution that i can use
easily with ruby.
It needed to be fairly advanced (not Gruff),simple, powerfull.
It''s called ploticus
http://ploticus.sourceforge.net/doc/welcome.html
There is a ruby wrapper for it but the site is currently down, so i''m
using it via CGI on my Apache server. It''s great.
Just thought
2006 Aug 10
7
mongrel stops responding after period of no use
I just moved from apache2/fcgi to apache2.2/mongrel and everything
seems to work great except for 2 issues, one being major and one
minor.
the major issue i am experiencing is that after a period of time where
my rails apps are not used, typically overnight, the mongrel processes
become unresponsive. I currently have 3 apps running behind an
apache2.2 proxy. every morning when i come in to
2013 Jan 31
1
The way Puppet installs things fail
Basically, the way puppet installs things things with
/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install
<package_name>
fails due to authentication
WARNING: The following packages cannot be authenticated
But if I do it from an ssh console normally, using apt-get install
<package_name> it works fine without issues.
Is there a way to change how puppet uses the
2007 Oct 19
0
X-Sendfile, static files, windows
Jeremy,
I found your old message with this title. I struck the same thing,
where the current drive wasn''t the same as the drive I wanted to
serve (some) files from. So here''s the patch to add to
lib/mongrel/handlers.rb contains class DirHandler. I added two
things, first to initialize:
def initialize(path, listing_allowed=true, index_html="index.html")
2007 Apr 23
1
X-Sendfile, static files, windows
i wrote a little camping app which serves the css, js and images
statically using the Static class example i found on the camping wiki.
everything works perfectly on my mac. once on windows the static files
don''t get served. a 404 is returned.
i have tried running the app using camping, webrick and mongrel, all
give the same 404 response.
here is an example value of X-Sendfile. I have
1996 Dec 06
1
Sendfile. beta test
I have found a package called sendfile that let you send files
over network.
It installs a prog called sendfile to send and a daemon called sendfiled,
called on demand by inetd.
I''d like to know if this package is security safe
C.Leroy
Source can be found at URL:
ftp://ftp2.ibp.fr/pub/linux/sunsite/Incoming/sendfile-1.5.tar.gz
2004 Jun 01
3
1.0-test14: no sendfile() in Solaris 8
Aloha.
The current CVS snapshot and 1.0-test14 will not build on Solaris 8
because it does not provide a sendfile() funtion. It just has sendfilev().
Solaris 9 has sendfile(), though.
Using the old sendfile-util.c from 1.0-test1 and setting HAVE_SOLARIS_SENDFILEV
instead of HAVE_LINUX_SENDFILE in config.h works.
Greetings,
Andy.
2004 Sep 06
0
[Fwd: Bug#267766: samba: incredible slow reads - may be a sendfile problem?]
Forwarding this to the main samba list, as this is coming up there.
-----Forwarded Message-----
From: Steve Langasek <vorlon@debian.org>
To: Joern Heusipp <debian-reportbug@cre.inka.de>, 267766@bugs.debian.org
Subject: Bug#267766: samba: incredible slow reads - may be a sendfile problem?
Date: Fri, 03 Sep 2004 16:28:41 -0700
severity 267766 important
thanks
I am downgrading this bug
2004 Sep 24
1
sendfile failed
Mates,
I'm trying to learn a little more. I have 3.0.7 running on Mandrake 7.2.
I could see all the shares, but couldn't access the files "sendfile failed".
I set use sendfile = No and all is well. I have a separate system Suse 9.0
pro with use sendfile = yes and I have no problems. What is the
difference???
--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree
2004 Oct 31
1
which kernel should be used to solve sendfile problem on linux?
I have seen some folks on the list with what seems to be a similar issue
as I have. I work in a large FX shop and this has been a problem for us
since the 3.0.7 upgrade. If anyone has a known to work config, could you
share your set up info please?
Jerry what kernel, and other system bits versions do you test on?
The system has a 2.4.21 kernel with xfs filesystems. It is a redhat 9
machine on
2005 Jan 02
1
sendfile questions...
Why in smbd/reply.c does send_file_readX only use sendfile if write cache
size is 0?
<snip>
if (chain_size ==0 && (CVAL(inbuf,smb_vwv0) == 0xFF) && lp_use_sendfile(
SNUM(conn)) &&
(lp_write_cache_size(SNUM(conn)) == 0) ) {
</snip>
While its true send_file_readX works regardless of the state of oplocks
(which is cool!) the smb.conf.5
2009 Dec 23
1
sendfile
Hello Experts:
I understand from the samba code (3.0.25) that we use sendfile during
client's Read operation. Is there a reason for not using the same for
write operation? Is it to do with header processing etc.
Thanks for your feedback!
2024 Mar 06
2
Question on supporting sendfile()
Hi all,
sendfile() could be enabled in NGINX(https://www.sobyte.net/post/2022-08/nginx-send/). It could improves the performance since it could optimize to transfer data to user space. Up to now, sendfile() isn?t supported in OpenSSH yet. Will it be supported in the future?
Best Regards
Haojian
2007 Oct 25
2
Patch for X-SendFile on Windows
A new TRAC entry with patch has been added (initially for Camping)
to allow X-SendFile on Windows to use DirHandler to send files on
drives other than the current drive, if the DirHandler base path is "/"
(which is the way Camping uses DirHandler).
As it was, "/" gets expanded to "C:/", and then you can''t serve files
on any other drive, which I needed to do
2007 Jun 21
1
x-sendfile horrendously slow?
I''m using Camping (though I suspect this applies to RoR just as well,
and if you have an RoR specific answer I''d be happy to hear it, I may
switch) to do a number of things for an internal application, one of
which is transferring large files (~2GB each) between machines over the
network. I thought the easy route would just be to make an app that
when given the filename, serves
2006 Feb 01
4
Red Hat and "use sendfile"
Recently I've seen several suggestions on this list for the enabling of "use
sendfile" as a means to improve throughput. I thought this was peculiar
since the doc says it is enabled by default. I guess it isn't.
On both RHEL4 (Samba v3.0.10) and Fedora Core 4 (Samba v3.0.14) the entry
for "use sendfile" in the smb.conf says:
Default: use sendfile = yes
Hmm.
2006 Jul 17
6
Rails+Mongrel+Lighthttpd: Ruby-Sendfile Problem
Hello,
I have a working mongrel cluster and want to use Lighty as the frontend
webserver. I want ligthttpd to deliver the static content.
So I did
gem install sendfile --remote
Everything installed.
But if I run the tests like
gem check sendfile --test --debug
i get the following error message:
Exception `Errno::ENOSYS'' at ./test/test_sendfile.rb:75 - Function not
implemented -