Hopefully AWS will begin allowing more kernels in the near future.

In the meantime, can you tell me where I can find the code for eventfd() (ie. what file is it located in) ?

Thanks


On Wed, Mar 24, 2010 at 12:24 PM, Jason <jason.giedymin@gmail.com> wrote:
In the meantime,

If you can upgrade your kernel, that will work.
If your on EC2/Amazon, they will not let you use a kernel beyond 2.6.21...


On Wed, Mar 24, 2010 at 11:51 AM, Harmer, Sean <seanharmer@gmail.com> wrote:
Thanks for the link.  I see you're almost at a solution...

I want to make the change you used -- ie. hash-out eventfd()
but don't know where that code is located.

Also, what is to stop someone from simply upgrading their kernel to 2.6.3...?  Wouldn't that be as effective as disabling a flag?

Thanks for your help.
Sean




On Tue, Mar 23, 2010 at 1:58 PM, Jason <jason.giedymin@gmail.com> wrote:
Sorry I had my iphone and it clipped everything.

The fedora ec2 kernel will not work atm with trunk ats.

There is a ticket and we're working on it.

Look at:

On Tue, Mar 23, 2010 at 1:36 PM, Leif Hedstrom <zwoop@apache.org> wrote:
On 03/23/2010 11:30 AM, Harmer, Sean wrote:
Here's the exact storage.config settings
       /usr/local/var/trafficserver/cache/   18320037760
I even tried using the root as storage -->        .   18320037760
Here's the log from /var/log
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_server[29419]: NOTE:
--- Server Starting ---
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_server[29419]: NOTE:
Server Version: Apache Traffic Server - traffic_server - 2.1.0 -
(build # 22210 on Mar 22 2010 at 10:28:13)
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_server[29419]:
{1081907712} STATUS: opened var/log/trafficserver/diags.log
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_server[29419]:
{1081907712} NOTE: updated diags config
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_server[29419]:
{1081907712} NOTE: cache clustering disabled
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_server[29419]:
{1081907712} NOTE: clearing statistics
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_server[29419]: FATAL:
UnixEThread.cc:70: failed assert `(evfd = eventfd(0,0)) >= 0`
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_manager[25614]:
{3086903648} ERROR: [LocalManager::pollMgmtProcessServer] Server
Process terminated due to Sig 6: Aborted
Mar 23 13:27:30 domU-12-31-39-0E-D8-22 traffic_manager[25614]:
{3086903648} ERROR:  (last system error 2: No such file or directory)


This is a different issue, unrelated to the cache I think. See https://issues.apache.org/jira/browse/TS-263

-- Leif





--
Sean Harmer
seanharmer@gmail.com
703.957.9272




--
Sean Harmer
seanharmer@gmail.com
703.957.9272