LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2008, 12:48 AM   #1
maheshollalwar
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Cache::FastMmap does not support threads sorry at /usr/lib/perl5/


Hi,

I'm getting below error in httpd error logs, when i run a perl script
which uses Cache::FastMmap

Cache::FastMmap does not support threads sorry at /usr/lib/perl5/
site_perl/5.8.5/i386-linux-thread-multi/Cache/FastMmap.pm line 1134

can anybody please suggest.

Thanks.
 
Old 10-08-2008, 08:16 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Sounds like its not possible to share Cache::FastMmap objects across threads. Not all Perl modules are 'thread-safe' yet...
What you can probably do is have separate Cache::FastMmap objects inside each thread (non-shared).
For a more detailed explanation ask the gurus at www.perlmonks.org.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 06:33 AM
How to restore /usr/lib/perl5/site_perl/5.8.6 directory on FC4 vadiml Linux - Server 3 04-28-2007 07:50 PM
oops, I stripped /usr/lib and /usr/X11R6/lib ! H_TeXMeX_H Slackware 2 02-08-2007 09:27 PM
Oopsy daisy - deleted /usr/lib/perl5/site_perl/ AcidRip no worky WoofDeF Linux - Software 1 03-30-2006 06:00 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration