similar to: problem in downloading large file(1.1 gb) using xsendfile mo

Displaying 20 results from an estimated 30000 matches similar to: "problem in downloading large file(1.1 gb) using xsendfile mo"

2010 Sep 20
0
problem in downloading large file(1.1GB) using xsendfile.so
Hi all, I am Running Apache as frontend server to mongrel and uploaded 1.1 Gb of file using my rails application .Now I am trying to download same 1.1 GB stream ,for that i loaded mod_xsendfile.so in apache httpd.conf file and using send_file function downloaded this 1.1 gb of stream successfully.but after downloading it ,again am trying to download same 1.1 gb of stream but now am getting failed
2010 Sep 27
0
problem when downloading files with xsendfile
Hii All, i loaded mod_xsendfile.so in apche , i added few line in httpd.conf files LoadModule xsendfile_module modules/mod_xsendfile.so XSendFile on XSendFileAllowAbove on <VirtualHost * localhost:80> ServerName src DocumentRoot C:/InstantRails-2.0-win/rails_apps/src/public/ ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ </VirtualHost > now in my
2010 Sep 22
20
problem in downloading large file with apache+mongrel
hii all, am using apache as frontend to mongrel and loaded xsendfile module in apache ,am looking for 1 GB of download .this is download routine def download @stream = Stream.find(params[:id]) send_file(@stream.location,:filename => @stream.name,:disposition > ''attachment'',:x_sendfile => true ) and And this is how it is processed Processing
2008 Sep 01
0
Apache configuration for using plugin Xsendfile
Hello I am facing some problem in using the plugin Xsendfile(http:// john.guen.in/rdoc/x_send_file/).Here in README for setting up web server , the author has given a link to http://celebnamer.celebworld.ws/stuff/mod_xsendfile .But when I try to Install mod_xsend_file.c I am getting an error apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file.. apxs:Error: At least one
2010 Sep 23
0
how to do force apache to handle static request
Posted by Amit Tomar (amit-singh) on 23.09.2010 14:55 hii all, Am running apche as frontend to mongrel ,i added these line in Apache''s httpd.conf file LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule
2007 Aug 07
3
XSendFile problem
I am trying to user XSendFile in my application. I have installed the plugin and in the environment.rb included this line XSendFile::Plugin.replace_send_file! but it is unable to read the files. Earlier i had used send_file but it increases the mongrel size and slows down the application. Any suggestions about how to make it work? -- Posted via http://www.ruby-forum.com/.
2006 Apr 11
0
Large file support (up and down) for Mongrel 0.13.3
I''ve just checked in changes to improve handling of massive posts and massive downloads. Generally speaking, Mongrel has been keeping everything in memory. (Unless you''re using DirHandler and have the sendfile gem in place.) Now, downloads should be pretty swift even without the sendfile gem. HttpResponse#send_file rips out the file streaming support from DirHandler and
2007 Dec 18
0
Using mod_xsendfile and x_send_file with Mongrel
Can anyone tell me how to get x_send_file working with mongrel 1.1.1 and apache 2.2? I''ve installed the mod_xsendfile apache module from http://tn123.ath.cx/mod_xsendfile/ and it works fine serving content from a PHP script, but I can''t get it to work with my single Mongrel instance and ProxyPass. I''m using the following Apache configuration: <VirtualHost *:80>
2010 Sep 23
0
how to i force apche to handle download requestrunning apach
hii all, Am running apche as frontend to mongrel ,i added these line in Apache''s httpd.conf file LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule xsendfile_module modules/mod_xsendfile.so XSendFile on
2007 Dec 12
10
sendfile and mongrel
forgive me if this has been resolved already... I have an app that is using sendfile to return large files to customers. We can''t use regular Apache to handle this static content since the files are what the customers are paying for - so it wouldn''t be cool for anyone else to get access to them. The issue is that the mongrel mem footprint gets bloated when the files are
2006 May 14
3
send_file and locking files after download?
Hello, I''m working on a download service which grants users a one-time-download access to files. The idea is to write an entry to a database table after a successful download that "locks" the download link for the user. After doing some quick tests with send_file I noticed that send_file does not block until the user has downloaded the full file, but proceeds with the
2010 Sep 17
9
invalid content-Length ERROR while uploading 2 GB of stream
hi all, When Trying to upload 2GB of stream i got invalid content length error am running Apache as frontend server to mongrel and chrome as my browser. One more thing one i do it with mongrel alone am able to upload this 2 GB of stream ,cud anybody tell me whats the problem and how do i configure content length in apache?? -- Posted via http://www.ruby-forum.com/. -- You received this
2007 Aug 27
1
Send_file() method for downloading any file
HI, I need to know how to download any file using send_file() method.The code I have shown below is for a specific file........how ever I need it for any file. THE CODE ........ def download_files send_file(''D:/hr/Handbook.doc'', :filename => params[:filename] , :type => ''application/octet-stream'',
2007 Nov 07
16
file access with mongrel running as windows service
i have an archive of documents (word, excel, jpeg, png, gif...) residing on a network share that is accessed via send_file. when running mongrel on the command line the files are properly delivered. with mongrel running as a service they don''t. now normally i would think that should be fixable by configuring the service to run under a user that can read the files.... but
2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails app (which isn''t under very heavy load) kept eating memory and bringing our server to our knees. Eventually I traced it to send_file (which was in a way a relief as it wasn''t down to my coding ;) -- every time a user started downloading, the memory consumed by the app would jump, and
2012 May 07
0
XSendfile via Nginx
Hi, I''m trying to configure nginx to serve a video file on behalf of my rails 3 backend using xsendfile. I want rails to redirect the request for http://myapp.com/recipes/1/video to nginx to handle. Unfortunately, my current configuration results in a 404 (page not found) error. I''ve pasted my nginx configuration at http://pastebin.com/VA4QFM35 Does anyone know what could be
2008 Jan 08
4
XSendFile in development environment
Hi I''m currently trying to use X-Sendfile to take some load off my rails app, unfortunately in my development environment mongrel is happily passing through the x-sendfile header, presumably for the (non- existant) proxy to handle the header. Is there some way to make mongrel process the x-sendfile header itself? Thanks jebw
2011 Jul 24
4
Downloading files not stored in database?
Hello list, I am trying to add functionality to my application that will allow users to download files that are not stored in a database. All the examples I have found find the file by ID. which I can not do. Here is my code from the view: <h1>Browse files for download</h1> <% form_for(:download, :url=>{ :controller=>"download",
2010 Jan 03
2
Problem with downloading a generated Excel sheet
Hello, I''m using the spreadsheet/excel gem to generate an excel sheet that I want user to be able to download it once it''s generated. Please take a look on the below code: @contacts=Contact.find(:all) if @contacts.size>0 file="#{Date.today}_Report.xls" workbook=Spreadsheet::Excel.new("#{RAILS_ROOT}/public/reports/#{file}")
2004 May 19
1
RES: Experiences with Samba 3 in 'Windows Server 2003' mo de domains?
Hi Thomas, I ran Samba-3.0.2a + MIT Kerberos 1.3.3 with Windows 2000 without any problem, all the users was able to access the shares with their tickets, after migrate my W2K server to Windows 2003 no one can access the shares on the linux machine using its netbios name, it only works trough ip address. I've been many people reporting the same issue, but no one was able do answer. Hi samba