Displaying 20 results from an estimated 20000 matches similar to: "max_allowed_packet mysql"
2012 Aug 18
2
Paperclip images are not stored in my directory
It is my User.rb model,
My images are not stored in my assets directory..
has_attached_file :photo, :styles => { :small => "100x100#", :large =>
"500x500>", :thumb => "60x60>" },
:url => "/assets/users/:id/:style/:basename.:extension",
:path =>
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
2009 Sep 12
1
mysql query logging
Nothing I have done so far seems to work
# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
max_allowed_packet=2MB
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
2009 Apr 15
3
MySQL On ZFS Performance(fsync) Problem?
Hi,all
I did some test about MySQL''s Insert performance on ZFS, and met a big
performance problem,*i''m not sure what''s the point*.
Environment
2 Intel X5560 (8 core), 12GB RAM, 7 slc SSD(Intel).
A Java client run 8 threads concurrency insert into one Innodb table:
*~600 qps when sync_binlog=1 & innodb_flush_log_at_trx_commit=1
~600 qps when sync_binlog=10
2006 May 04
0
File upload directly to DB
I''ve created file upload functionality based on the wiki
HowtoUploadFiles. I''m in development mode running the newest version
of rails and ruby. I''m using the development WEBRICK web server. The
database is MySQL 4.1. I''ve updated the max_allowed_packet
setting=32M.
The problem is that file uploads get stuck at sizes of 8mb or greater.
Sizes below 8mb work
2007 Nov 03
3
Birthdate validation
Hello everyone,
I''m almost cracking my head trying to do this birthdate validation. It
turns out that I can only accept users with at least 18 years old and
I''m trying to validate it writing this code on my user.rb fil at app/
models
class User < ActiveRecord::Base
validates_presence_of :full_name
validates_presence_of :street_address
validates_presence_of :city
2006 Jun 05
4
Swap memory: I can't reconcile this stuff.
I need to look more into it, but before I start the long and arduous
"googling my life away" process, I figured someone might know the
answer. I've read the man pages several times and they didn't change!
:-(
As normal, while looking at one thing, something else bites my butt. I
tuned on the swap field in top and sort on it. Here's an edited snippet
of the results.
Mem:
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
I''ve installed Puppet and am installing Dashboard on CentOS 6. I''m running
into an ''undefined method'' when installing the dashboard. To install
Puppet Open Source, I ran:
> rpm -ivh
2008 May 17
12
validates_numericality_of with greater_than* less_than* simply don't work
It seems that the validations for:
greater_than
greater_than_or_equal_to
less_than
less_than_or_equal_to
equal_to
odd
even
Simply do not work (Rails 2.0.2). I''ve tried every combination I can
think of and these never seem to fire.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
Hello All,
I''ve run into a snag. (I apologize in advance. I''m not very good at
system administration.)
I''m building an app that allows users to upload files. Up until now I
have been storing the files on the file system, but tonight I decided to
change the app so the files are stored in the database as a longblob.
I thought everything was working great, until I
2006 Jun 07
1
Upload to DB hang mentioned in wiki
I''m uploading files to a mysql database, using a mediumblob size.
Following the wiki here:
http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles ,
I got past the first mysql 500kb limitation with the max_allowed_packet = xM
trick, setting it to 1000M.
However, as the person at the very bottom of the wiki notes, I too cannot
upload more than around 10mb.
I also tried the suggested
2010 Apr 24
2
problem using attachment_fu with S3
Hi,
My S3 bucket is located in the US
I have attachment_fu working when using file system storage
I have sw-swf upload plugin working with my S3 account
but I can not get attachment_fu to work with S3 storage.
the error I get is :
AWS::S3::RequestTimeout in Upload filesController#create
Your socket connection to the server was not read from or written to
within the timeout period. Idle
2017 Oct 31
1
How to limit Apple Mail (desktop)?
Am 31.10.2017 um 14:06 schrieb Mar?a Arrea:
>
> ?? If you use Linux you can use netfilter (iptables) mark feature to
> track individual connections from a given IP, and above a threshold you
> can shape the bandwitdh based on those iptables mark. For example, if an
> IMAP connection from ip X exceed 100 megabytes of data, bandwitdh for
> that ip would be limited to 100 KB/sec
2006 Aug 28
1
File Upload Truncated
I have a problem uploading files into a MySQL database (4.1.18) using
Lighttpd (1.4.11) and the MySQL C api (2.7). All the files that I
upload are truncated at about 65K, though, the temp file is the correct
length. No errors are thrown and the max_allowed_packet is set to 10GB.
I''m running on OSX.
Any thoughts or pointers are much appreciated.
2007 Oct 05
1
How to enable my RAID again
Hi
I have setup software RAID two years ago using FC3 using the graphical
installer (RAID1). In the mean time I installed CENTOS4.5 and everything
is running fine. At least that was my perception. It now turns out that
raid is not working and that LVS just finds 4 partitions from four disks
and that's it.:
/dev/sda2 VolGroup00 lvm2 a- 94.88G 0
/dev/sdb1 VolGroup00 lvm2 a-
2014 Jun 05
1
Slow transfers when using a linux-based client vs Windows client
Hey,
I've got a performance issue when transferring files from a Samba
4.1.6-Debian server. When using a Debian client, I get around 4.5 megabytes
per second, but when using a Windows (8) client I get around 21 megabytes
per second!
Any idea what would be causing this massive discrepancy?
Compressed pcapng files are at
https://mega.co.nz/#F!W5IygDzS!2bIAxA3tOpEvvgQf1HForw
- they'll
2017 Oct 31
0
How to limit Apple Mail (desktop)?
?? If you use Linux you can use netfilter (iptables) mark feature to
track individual connections from a given IP, and above a threshold you
can shape the bandwitdh based on those iptables mark. For example, if an
IMAP connection from ip X exceed 100 megabytes of data, bandwitdh for
that ip would be limited to 100 KB/sec (or whatever number). First 100
megabytes, top speed, above that they
2019 Feb 15
0
Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data
>> On Fri, Feb 15, 2019 at 4:10 PM Walter H. <Walter.H at mathemainzel.info> wrote:
>> >
>> > On 15.02.2019 06:29, Turritopsis Dohrnii Teo En Ming wrote:
>> > > Hi,
>> > >
>> > > Could you recommend affordable and reliable cloud storage for 50 TB of data?
>> > whats your budget?
>> >
>> > and 50 TB = 50
2019 Feb 15
1
Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data
On Fri, Feb 15, 2019 at 5:55 PM Phoenix, Merka <merka.phoenix at hpe.com> wrote:
>
> >> On Fri, Feb 15, 2019 at 4:10 PM Walter H. <Walter.H at mathemainzel.info> wrote:
> >> >
> >> > On 15.02.2019 06:29, Turritopsis Dohrnii Teo En Ming wrote:
> >> > > Hi,
> >> > >
> >> > > Could you recommend affordable
2008 Jul 16
1
virt-install behind proxy (Xen Newbie)
How does one install a new vm behind a proxy? When I start the
virt-install routine Xen seems to be unable to load information from
the ftp/http sources.
As a consequence, I tried to install from the DVD-iso as well as the
file system. Xen then prompts "What type of media contains the
packages to be installed?". After choosing ''hard drive'' it prompts
that I do not seem