Displaying 20 results from an estimated 4000 matches similar to: "MYSql (possibly) crashing server"
2006 Feb 26
3
Fast inserts?
There are cases when I have to create the same record 100 times.
Is there a faster way than:
100.times{Obj.create(@params[:obj])} ?
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060226/75d1e099/attachment.html
2005 Sep 10
4
has_too_many
Assuming you have Person that has_many :messages, what will it happen if it
has 10000 messages?
Will rails attempt to initialize @person.messages with 10000 rows from
database? If that is the case, is combining finder_sql and counter_sql the
common practice to avoid this?
Bogdan
_______________________________________________
Rails mailing list
2006 Jan 08
4
Finding memory leaks?
Where are the memory leaks and what is the way to fix them?
I''m working on a game that was fairly stable in terms the memory consumption
and it was staying at around 200MB. Recently it has gone crazy, and unless I
restart it, it goes straight up to 350-400+MB after 30 minutes-1hour.
I am using Apache 1.3+fcgi in production mode.
Also the dispatch.fcgi processes take a really high toll
2006 Feb 23
0
Logging the pid of the dispatcher.fcgi
Hi,
Is there an easy way to log the pid of the dispatcher processing the
request?
Aparently some of the dispatchers get lazy after a while and I would like to
see which are those.
Thanks,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060223/7405be0e/attachment-0001.html
2006 Jan 31
3
Random 502 Bad Gateway
I have moved my project to a dedicated server and I am getting a very
annoying behaviour.
I am able to view the site just fine when using the ip.
The name is properly resolved on my computer, however I am getting
"Bad Gateway The proxy server received an invalid response from an upstream
server."
This is simply random. The site works for several minutes, then i get this
message for some
2006 Jan 21
1
db access or @session?
Does it make sense to use the @session to store some values instead of
accessing the db on each request?
I am trying to optimize the most accessed area, a page that every visitor
would access hundreds of times daily.
Thanks,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Nov 11
1
rsync --rsh not reading .ssh/config
I've setup up a single-use key on a remote host to run rsync in server
mode. I've also setup .ssh/config locally with an IdentityFile to
select the single-use ssh key.
This works on my Debian sid machine:
rsync --rsh="ssh remove_host" ::
But on another machine that command (and others tried below) do not
access .ssh/config. The machine is running these:
$ ssh -v
2014 Aug 13
2
MySQL - replication - how to restore master?
Hello,
We have MySQL running as a master which is replicating to a single slave
server. We are, however, considering what is required when a 'disaster'
of some sort happens to either server. By disaster, this could be some
event which requires the entire server to be rebuilt, and which would
usually include restoring from nightly backups directories such as
'/var/lib/mysql' and
2014 Aug 11
2
Question about dump on MySQL
I need export an registers of a data base from command line.
It is possible with mysqldump?
for example:
mysqldump -u user -ppass db "select *from users where id=20" ???
thank
2014 Nov 10
3
backup incrementals on mysql
Hi all.
I usally make backups of databases mysql.
I make buckups of all datbase for example:
mysqldump -u user -ppassword name_db > backups.sql
also I make backups just its schema for example
mysqldump -u user -ppassword name_db --no-data > backups.sql
but now I need a backups incrementals, because the size of DB is very big
(500 mb)
How to make this?
regards
--
*Atte.
2010 Aug 14
6
best ways to do mysql backup
we have multiple servers approx 10 and each has about 100 GB of data in
the /var/lib/mysql dir , excluding tar , mysqldump and replication how do we
take backup for these databases on to a remote machine and store them
datewise , ( the remote machine is a 2TB HDD )
currently tar is not feasible as the data is too huge and the same goes
with mysqldump
suggestion will be of great help
--
2006 Feb 25
10
Performance issue.. after a while
Hello,
I have an project running on a dedicated server:
Debian, P4 CPU 3.00GHz, 1GB RAM,
ruby 1.8.4 (2005-12-24) [x86_64-linux],
rails (1.0.0), activerecord (1.13.2)
lighttpd-1.4.10 + fastcgi + mysql 5.0
7 dispatchers.
The project is a game, so a typical user would visit 100+ pages.
When the server is busiest, it gets 35-40k requests/hour.
For some misterious reason after a number of hours the
2006 Feb 02
4
Random (connections.c.1330) error-handler not found: /dispatch.fcgi
Hello,
Again another random occurance of a problem.
lighttpd.error.log contains lines like:
2006-02-02 05:02:00: (connections.c.1330) error-handler not found:
/dispatch.fcgi
2006-02-02 05:02:00: (connections.c.1330) error-handler not found:
/dispatch.fcgi
2006-02-02 05:02:00: (connections.c.1330) error-handler not found:
/dispatch.fcgi
2006-02-02 05:35:08: (connections.c.1330) error-handler not
2015 Jun 17
1
Can't login to Windows 2012R2 with domain user
Thank you!
Does it possible to convert this git diffs -
https://attachments.samba.org/attachment.cgi?id=11162 to common patch? I
would like to apply it to Sernet packages sources and rebuild it for test.
On Wed, Jun 17, 2015 at 6:05 PM, mourik jan heupink <heupink at merit.unu.edu>
wrote:
> Perhaps this:
>
> https://bugzilla.samba.org/show_bug.cgi?id=11061
>
>
> On
2001 Mar 01
1
a directory refresh bug in dos.
I'm very sorry, but I cannot find any way to send you my bug report.
(The email account samba-bugs is disabled, while it can be found on the
web page http://de.samba.org/samba/bugreports.html)
Can you please send my bug report to the right place, or tell me what
should I do to send it to the right person?
Thank you very much!
Bogdan Zavalnij
system administrator
---------- Forwarded
2006 Jul 16
3
RJS problem
I have an odd problem while trying to use a simple rjs.
_test.rjs : page.alert "test"
test.rhtml: <script><%=render_partial(''test'')%></script>
When I am attempting to view controller/test the page comes as if it was a
text file.
So i am actually seeing:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2006 Mar 25
3
Rails and Lighttpd, hangs?
I know this is kind of a generic question. But, when hitting my
lighttpd/rails site on some of the first hits, the site hangs. I
think it has something with the lighttpd configuration, possibly
something I am missing with rails or ruby? Any ideas or how to track
this down.
fastcgi.server = (
".fcgi" => (
"0.0.0.0" => (
"socket" =>
2002 Sep 29
1
Win2k/XP problem displaying free space fixed in 2.2.5?
Hi List,
can I assume that the problem with win2K/XP displaying wrong free space
of a samba share is fixed in Samba 2.2.5. ?
I found a hint on that in the following message from Jeremy Allison to
th samba-tec list:
"20. 2002-05-09 Re: WinXP and Win2K see wrong free space on Samba 2.2"
but can't figure out wether the issue is really solved.
I need this for a cutomer, but
2017 Jun 06
1
integrating 2 lists and a data frame in R
Here's another approach:
N <- data.frame(N=c("n1","n2","n3","n4"))
M <- data.frame(M=c("m1","m2","m3","m4","m5"))
C <- data.frame(n=c("n1","n2","n3"), m=c("m1","m1","m3"), I=c(100,300,400))
# Rebuild the factors using M and N
C$m <-
2010 Aug 16
0
Restoring blob fileds in Mysql
Not really a rails question but someone on here may be able to help..
I have been backing up a MySQL database for a Rails app for several
years with the command: mysqldump myDatabaseName -u root >
myBackupFile.sql
The backups have appeared to work fine...
I then wanted to restore one of the backups to a different named
database so I did: mysql myNewDatabaseName -u root < myBackupFile.sql