emulated via thread spawn and win32
is restricting you to that many threads.
I'm not enough of a win32ist to be able to be sure of that or tell you what you
need to do to fix it though, sorry.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Dire
ur own code
leaking memory.
I'd recommend Devel::Leak and Devel::LeakTrace::Fast.
Quick thought: if you're doing lots of random SQL statements and you've told
EasyDBI to use prepare_cached then it's going to hang onto a -lot- of $sth
objects and you might find that periodically f
a cross platform replacement? Hopefully something that
> will work on Windows and Linux.
"known issue" according to whom?
If there's a bug it should be reported and fixed.
Trying to find a replacement instead of fixing what's there is just silly ...
--
Matt S Trou
On Wed, Feb 22, 2006 at 11:22:41PM -0500, [EMAIL PROTECTED] wrote:
>
> Good evening ladies and gentlehackers.
>
> Welcome to the long delayed first public release of POE::Component::Daemon.
>
> http://search.cpan.org/~gwyn/POE-Component-Daemon-0.10/
*applause*
--
uffer and start sending me stuff in real time" ?
--
Matt S Trout Specialists in Perl consulting, web development, and
Technical DirectorUNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more informatio
it looks.
> >Not reliably. But then again, you shouldn't leak.
>
> Not leaking. But maybe running fat modules. Do you have any info about how
> to do it?
Have a look at the way Apache::Reload, Module::Refresh et. al. do it (and
have a quick nose round CPAN, there's at lea
een validated to work on RedHat Linux with
> Perl2Exe?
> I've made it work with Win32, but will also need to make it work on HP-UX,
> AIX and Solaris.
>
> Best Regards,
>
> Scott Neibarger
--
Matt S Trout Specialists in perl consulting, web development, and
Techni
ventually made it into trunk -
NoSetSid
When true, NoSetSid disables setsid() in the child process. By default,
setsid() is called to execute the child process in a separate Unix session.
Ta-dah! Your POE::Wheel::Run child processes will be reaped on parent exit :)
--
Matt S Trout
OE event, maybe that could be
> something dynamic.
Have a look at Business::Bof, which uses POE to make arbitrary methods
available over SOAP. I spent quite a lot of time chatting to Kaare Rasmussen
(the author), and I think he's done a damn fine job with it.
--
Matt S Trout Specialis
On Mon, Sep 05, 2005 at 02:34:51PM -0500, Jay Strauss wrote:
> Matt S Trout wrote:
> >On Sun, Sep 04, 2005 at 05:54:12PM -0500, Jay Strauss wrote:
> >
> >>Is there a better way?
> >
> >
> >Try the following (lines still starting > are untouched) -
es => {
send_quote => sub { $new->send_quote(@_); },
> },
> );
>
>return $class->SUPER::new($arg);
> }
This is how I tend to do it - note that the object now doesn't have a
reference to the session because the session has several to
seems to overlap with Server.
> POE::Component::MDP::QueueProvider still has some length to it, but
> it sounds a lot less redundant. I assume there will be a lot of
> modules below POE::Component::MDP.
POE::Server::MessageBus
POE::Component::MessageBus::Client
?
--
Matt
llected. So of course POE will,
unless you've got a reference do that variable somewhere else.
> thx
That is *not* english. Unless you're 15, in America, and borrowing your mum's
AOL account. Try "thanks".
--
Matt S Trout Website: http://www.s
ll point to the
same variable.
--
Matt S Trout Website: http://www.shadowcatsystems.co.uk
Technical DirectorE-mail: mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.
ffer STDOUT and see if it works then (or use warn instead
of print since STDERR is unbuffered by default).
--
Matt S Trout Website: http://www.shadowcatsystems.co.uk
Technical DirectorE-mail: mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.
ocs :) -
sub success_event_handler {
...
my ($handle_id, $datatype, $data, $userdata) = @_[ARG0..ARG3];
...
}
$userdata is whatever you passed as UserData => to the original LaDBI post.
That do the trick?
--
Matt S Trout Website: http://www.shadowcatsystems.co.uk
T
the database do
the work with the data? If you need information from the main event then
either stick it in the HEAP or pass it along as an argument to the yield.
--
Matt S Trout Website: http://www.shadowcatsystems.co.uk
Technical DirectorE-mail: mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.
driven programming" provided a bunch of tutorials that might
help you there.
If it's any consolation, POE took me a while to wrap my brain around too :)
--
Matt S Trout Website: http://www.shadowcatsystems.co.uk
Technical DirectorE-mail: mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.
;, it must be 1(cause of ++).
Er, no. "yield" means "put this event in the queue to be run", so your
"two" events aren't going to get called until after the "one" event
exits.
Replace the print with
$_[KERNEL]->yield("three");
and add
stop and it hasn't actually finished shutting down by
the time you spawn another connection?
--
Matt S TroutBrag sheet:http://trout.me.uk/services.html
LAMP, InfrastructureContact: [EMAIL PROTECTED]
and Automation
specialist Do it once. Do it right.
chine's idle
> CPU percent?
ln -s /dev/random /dev/idle_percent
is probably going to be as close to reliable as anything else :)
--
Matt S TroutBrag sheet:http://trout.me.uk/services.html
LAMP, InfrastructureContact: [EMAIL PROTECTED]
pain in the neck, anyway :)
--
Matt S TroutBrag sheet:http://trout.me.uk/services.html
LAMP, InfrastructureContact: [EMAIL PROTECTED]
and Automation
specialist Do it once. Do it right.
hey take...
perldoc POE::Kernel
--
Matt S TroutBrag sheet:http://trout.me.uk/services.html
LAMP, InfrastructureContact: [EMAIL PROTECTED]
and Automation
specialist Do it once. Do it right.
sary, but I think there're a few
people wanting copies now :)
--
Matt S TroutBrag sheet:http://trout.me.uk/services.html
LAMP, InfrastructureContact: [EMAIL PROTECTED]
and Automation
specialist Do it once. Do it right.
> Yet the console output always comes out like so:
>
> DEBUG: Outputting Page
> DEBUG: Whois Event Triggered
>
> So of course, when the next query comes around, the first query is
> still sitting on the heap, so it gets used, then overwritten, etc...
>
> What fundamental fa
On Fri, Nov 19, 2004 at 08:10:24PM +, Kidney Bingos wrote:
> Hey,
>
> Just a bit of a ramble regarding the issues surrounding the implementation of
> the server to server protocol in POE::Component::Server::IRC and a request
> for comments.
> So what I am proposing is to "enhance" the serve
On Tue, Nov 09, 2004 at 05:26:29PM -0500, sungo wrote:
> On (11/09 22:13), Markus M?ller wrote:
>
> > Strictly seen, you?re right. The RFC needs \r\n. But you shouldn?t
> > ignore that this RFC is very old.
>
> the tcp spec is old and we still follow it. if the rfc says \r\n, that's
> what you
On Mon, Nov 08, 2004 at 08:10:52PM -0500, Oliver Klozoff wrote:
> Matt S Trout wrote:
>
> >I think the problem's in FreeTDS. I've seen similar behaviour in non-POE
> >apps
> >using it. I'd suggest you implement some sort of health-check that restarts
&g
On Mon, Nov 08, 2004 at 03:45:27PM -0500, Oliver Klozoff wrote:
> > From: David Davis [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 08, 2004 2:47 PM
> > To: Oliver Klozoff
> > Subject: Re: POE + database access
> >
> > We would have no idea what your problem is without showing us
> > any
On Mon, Oct 11, 2004 at 06:47:37PM -0400, Rocco Caputo wrote:
> So far I have six (6) failure reports:
>
> Terminal settings are probably not at fault. The "stty -a" reports
> (in and out of canonical mode) are consistent with a BSD system where
> the test case works.
>
> An interesting coincide
On Thu, Sep 02, 2004 at 09:44:32PM +0200, Bruno Boettcher wrote:
> Hello!
>
> made an update (and had also the very bad idea of making a forced update
> :( ) of POE and consorts...
>
> problem makes POE::Component::Client::HTTP
> building etc runs fine, but the tests fail:
>
> Running make
31 matches
Mail list logo