similar to: Large uploads with attchment-fu

Displaying 20 results from an estimated 6000 matches similar to: "Large uploads with attchment-fu"

2010 Oct 22
4
502 bad gateway on nginx with recv() failed
Hi, I''m serving the puppetmaster application with its config.ru through unicorn - proxied by nginx. I''m using unix sockets, 4 workers, and 2048 backlog. The clients - after their typical "puppet run" - send back a report to the master in YAML. Some clients whose reports tend to be large (close to 2mb) get a 502 bad gateway error and error out. nginx log: 2010/10/22
2006 Dec 07
17
compress and max upload size?
I am using mongrel_cluster with mod_proxy_balancer and would like to enable compression (assuming it improves throughtput) and limit file size upload. I configured mod_deflate and LimitRequestSize in Apache, but in my trials looks like the proxied calls bypass those directives (the conf goes below). Is there a way to get this? -- fxn # Adapt this .example locally, as usual. # # To be
2008 Feb 21
9
Difference between nginx and mongrel
Hi, I could never find out what''s the difference between nginx and mongrel. All my searches say "nginx is a HTTP server ..." and "Mongrel is a fast HTTP library and server for Ruby....". For me they both mean "...HTTP server...". I kept up with this question for some time till I came across this santence from the guys at Friend for Sale: -----------------
2011 Jun 07
2
[PATCH] examples/nginx.conf: add ipv6only comment
IPv4 addresses started looking very ugly the first time I got IPv6 working on bogomips.org. In case somebody else can''t stand how IPv4-mapped-IPv6 addresses look, the workaround is to use two listeners and ensure the IPv6 one is ipv6only. Unicorn itself supports IPv6, too, but nobody uses/needs it. I''ll add :ipv6only support shortly (probably tomorrow). >From
2010 Jun 28
4
Downtime notifier
What methods do people use to notify users of upcoming downtime in an application, and for handling requests nicely while scheduled downtime is occurring? My Google-fu is not yielding me anything useful-looking. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2010 Sep 02
7
unable to upload larger files
hii, i am trying to upload some files to filesystem using rails application when i use small size file everything is perfect but i when goes for larger files i got error this is my code #this model file class DataFile < ActiveRecord::Base def self.save(upload) name = upload[''datafile''].original_filename directory = "//192.168.147.17/Smruti/streams" #
2007 Jun 17
1
Problem: Upload file size limit to 500KB
hi, i''m sure some of you had come across this problem before, but i was unable to find the answer after spending quite some time searching. i have a basic file uploader, code similar to rails recipe (or rails manual). problem occurs when i try to upload files (images) greater than 500KB. the largest file i could upload was 493KB and i''ve uploaded a bunch files under 490KB and
2011 Sep 16
3
Rainbows! or unicorn?
I''m putting together a small web frontend for a client to upload files into an existing application. It''s trivial - there will never be more than a (small) handful of concurrent connections, but I need a streaming rack.input for upload progress on files up to 500MB or so. I was planning on using Rainbows! with ThreadSpawn and worker_connections=1, then noticed that unicorn is
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello. This is my mysql-server.pp file, both master and client are runing ubuntu. -------------------- class mysql-server { package { "mysql-server": ensure => installed } package { "mysql-client": ensure => installed } service { "mysql": enable => true, ensure => running, require => Package["mysql-server"], } file
2007 Jun 11
0
Selenium RC Fu (plus js unit)
We''ve been threatening to open source this for a while, most recently during Alex and Brian''s talk at Railsconf [1]. See the readme [2] for more info, and the source/rdocs for all the gory details. Feedback and contributions are very welcome. Thanks, pt. [1] http://www.slideshare.net/alexchaffee/fullstack-webapp-testing-with-selenium-and-rails [2] == Introduction Welcome to
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
Basically, I''m trying to crop multiple images out of a remote/original scene.. Think flickr ''tagging'', only, the pixs in the tagged boxes become their own unique images.. by way of simulating an upload from the controller using attachment fu.. can''t quite figure out the specific method in fu that would allow me to do this.. I''m so near the edge right
2010 May 28
0
dynamically generating subdomains using subdomain-fu
hi, I am using subdomain-fu for creating subdomains . My doubt is how can we give the subdomains in the etc/hosts ,when the sub-domains are dynamicallybeing created. Ex: i created a subdomain called "user1" and i specified this in etc/ hosts file.So eveery time i cant specify the subdomain which is being created.So can i ovecome this problem. -- You received this message because
2008 Nov 26
0
Best Configuration for attachment fu (images)
Hello, Well I''ll like to know which is the best configuration or the most used (standard) when uploading images via attachment fu (or related). In particular I''ll like to know which is the best resizing option and the best "thumbnail" size for large images. This is my current configuration. When I resize strictly to 640x480 the image loses its original ratio.
2010 Feb 24
0
Attachment fu file path
Hi I am using attachment fu plugin for uploading data. say : User has_many :photos I wanted to save the uploaded photo in the path as follows. /files/<user_id>/photos/1.jpg - while uploading first photo /files/<user_id>/photos/2.jpg - while uploading second photo 1) Is there any way to make a folder name with user id ? 2) Is there any way to rename the file in sequential order ?
2010 Aug 15
1
unicorn behind apache with file uploads
Hi, For one of our apps we switched to unicorn from mongrel. The unicorn server use to run behind an apache with timeout of 300sec, as sometime the customer may do a large file upload. After we made the switch we started getting lots of Unicorn::ClientShutdown occurred in photos#flash_upload bytes_read=2762663 (pr some other number) We were not able to recreate it in our tests, but support was
2008 Jun 19
0
White-labeling - config.plugins-fu fails in Rails 2.1
What I''m trying to do is to enumerate all available plugins and then exclude specific plugins. This allows me to white-label my site and load the necessary brand via plugin specified in the environment at run-time. If there''s a better way to accomplish this in Rails 2.1, I''m all ears. The following approach in config/environment.rb for enumerating all the plugins to
2006 May 19
1
[LLVMdev] LaTex fu and \mu
Dear All, I would like to use the greek letter mu \mu in my paper for the abbreviation for microseconds. For some reason,\mu does not work. Does anyone know if I need to add a \usepackage or something? Thanks in advance. -- John T.
2012 Dec 05
0
[LLVMdev] [Git-fu] How to commit inter-repositories atomically to svn
Sean Silva asked me, "How are you committing across both projects simultaneously?" For example, r167595. http://llvm.org/viewvc/llvm-project?view=rev&revision=167595 For the record, I introduce a how-to. Yeah it's troublesome. I don't do usually. [Prerequisites] * subtree-merged git repo. https://github.com/chapuni/llvm-project * Assume you are working on llvm-project. *
2008 Mar 08
2
restarting cluster without killing in progress file uploads
Hello, I have a cluster of three Mongrels running behind Pound. All is running well except when I restart the cluster (mongrel_rails cluster::restart) any in progress file uploads (handled through mongrel_upload_progress) stop uploading. That is, if I''m uploading a file (via a web app being served by the mongrel cluster) during a restart, my browser will indefinitely pause as if it is
2009 Apr 09
0
Can't join to domain, Google-fu has failed me
Hi, I've been using Samba for years as a domain controller without issue, but this has stumped me. I've set up Windows Vista Enterprise SP1 on a Virtual PC. Samba is running on a Gentoo Linux box as version 3.3.3. I can access shares without issue, but I can't get the machine to join the domain. When it tries it shows "The parameter is incorrect". Delving into