Displaying 12 results from an estimated 12 matches for "strscan".
2005 Nov 20
2
word_wrap with hard break
How can I force word_wrap to break text like this?
<% @text=''abcdefghijklmnopqrstuvwxyz'' %>
<%= word_wrap(@text, 10) %>
It appears to currently only break on space characters.
thanks
csn
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
2007 Nov 17
1
crash while building index
.../1.8/x86_64-linux/fcntl.so
2ae17de22000-2ae17de23000 rw-p 00000000 fe:00
6209857 /usr/lib/ruby/1.8/x86_64-linux/fcntl.so
2ae17de23000-2ae17e05d000 rw-p 2ae17de23000 00:00 0
2ae17e05d000-2ae17e061000 r-xp 00000000 fe:00
6209869 /usr/lib/ruby/1.8/x86_64-linux/strscan.so
2ae17e061000-2ae17e261000 ---p 00004000 fe:00
6209869 /usr/lib/ruby/1.8/x86_64-linux/strscan.so
2ae17e261000-2ae17e262000 rw-p 00004000 fe:00
6209869 /usr/lib/ruby/1.8/x86_64-linux/strscan.so
2ae17e262000-2ae17e26d000 r-xp 00000000 fe:00
6209846...
2008 Mar 31
16
Mongrels stop responding
I have a Rails 1.2.3 app (due for an update, I know) running on a
Mongrel 1.1.4 behind Apache 2.2.3 mod_proxy on Debian 4.0. It keeps
hanging up for no reason I can tell. I have tried everything that anyone
has ever hinted at being a solution for this problem:
- The application doesn''t use MySQL, so setting the connection timeout
won''t help.
- Using AR not PStore for sessions.
-
2006 Jul 28
1
Requirements
Is there a easier (quick) way to check if I have all the requirements
from this list on my solaris 10 server?
* base64
* cgi
* digest/md5
* etc
* fileutils
* ipaddr
* openssl
* strscan
* syslog
* uri
* webrick
* webrick/https
* xmlrpc
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
2007 Mar 28
6
trouble with PerFieldAnalyzer
I''m having trouble with PerFieldAnalyzer (ferret version 0.10.14).
Script:
require ''rubygems''
require ''ferret''
require ''pp''
include Ferret::Analysis
include Ferret::Index
class TestAnalyzer
def token_stream field, input
pp field
pp input
LetterTokenizer.new(input)
end
end
pfa =
2007 Feb 27
14
Using a single class multiple times
Hi-
Recently starting using puppet while migrating an existing messy group
of systems to some nice new hardware. Things are going incredibly well,
and puppet''s functioning great. Have a bit of a headache. I''d like to
keep myself from duplicating lots of included classes. Lets say I have
this (snippet of a) class:
class dbserver {
file { "/etc/my_${db}.cnf":
2009 Feb 27
1
rake bombs on openssl (on Ubuntu)
...dir /rho; chown phor /rho
- wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.bz2
- tar jxf ruby-1.8.7-p72.tar.bz2
- cd ruby-1.8.7-p72
- vi ext/Setup and uncomment these lines:
bigdecimal
curses
digest
digest/md5
digest/rmd160
digest/sha1
digest/sha2
iconv
openssl
readline
socket
strscan
thread
zlib
- ./configure --prefix=/rho
- make
- make install
- create a 1-line file (in /rho/.rho) and then dot-it: export PATH=/
rho/bin:${PATH}:.
I saw this:
$ /rho/bin/ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
Next, I installed gems:
- wget gems: wget http://r...
2006 Jul 23
9
Kubuntu, Apache 2.2, Mongrel, Mongrel Cluster
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_notes
Type: application/octet-stream
Size: 5801 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/34e20e45/new_notes.obj
2006 Jun 15
1
Performance leak with concurrent requests on static files (Rails)
...2200 curio mem REG 8,3 10754 201362293
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so
mongrel_r 32200 curio mem REG 8,3 6780 134491717
/usr/local/lib/ruby/1.8/i686-linux/fcntl.so
mongrel_r 32200 curio mem REG 8,3 20689 134491735
/usr/local/lib/ruby/1.8/i686-linux/strscan.so
mongrel_r 32200 curio mem REG 8,3 77368 671116608
/usr/lib/libz.so.1.2.3
mongrel_r 32200 curio mem REG 8,3 12261 134491716
/usr/local/lib/ruby/1.8/i686-linux/etc.so
mongrel_r 32200 curio mem REG 8,3 42358 134491740
/usr/local/lib/ruby/1.8/i686-linux/zlib.so
mongr...
2010 Mar 07
7
Upgraded puppet-server from EPEL 24.8 to 25.1 - now seeing "puppetmasterd[xxxx]: Too many connections"
I have updated the 1100 clients that prior to the update used to
connect to the master just fine. Now after about 30 minutes of
running, puppetmasterd starts to complain "puppetmasterd[6875]: Too
many connections", and from that point forward will stop compiling
catalogs. Puppetmaster is configured using the Mongrel Apache
configuration as described here:
2010 Sep 02
3
err: Too many open files - /var/lib/puppet/state/state.yaml.tmp
I keep on getting this message:
err: Too many open files - /var/lib/puppet/state/state.yaml.tmp
Does anybody know what might be causing it?
I''m also getting "err: State got corrupted". Everything does seem to
be kind of working, but it''s sort of worrying getting these new errors.
--
You received this message because you are subscribed to the Google Groups
2010 Aug 25
18
Puppet hangs
Hello,
we have one puppet server managing approx servers, all FreeBSD.
The problem is that the puppet clients all hangs, one by one,
eventually. They will run for anything between an hour up to a week.
But eventually the all hang.
We really like puppet and want to keep using it. But the way it is now
is completely unusable. We''ve tried many versions, from 24.x, and now
2.6.1rc1. But