Re: Squid3 and COSS problems on linux

2004-05-04 Thread TV Sriram
> THis happens in a call to cbdataFree in storeCossIOCallback of
> store_io_coss.cc line no 494. Is this something due to the cookie
> getting an overlapping value.

> The cbdataFree is called for a CossState object. 

I just verified that the call to cbdataFree(sio) is not matched by an
alloc using cbdataAlloc. Instead the alloc for the CossState happens
from the memPoolAlloc using Squid COSS State Data pool.

Also the delete correspondingly releases the memory by calling the
memPoolFree. So I feel the call to cbdataFree is not required in line no
491 of store_io_coss.c

Could you give me access to CVS? My account name is tvsriram.

Thanks,
TV



Squid3 and COSS problems on linux

2004-05-02 Thread TV Sriram
Hi,
 I am running Suse 9.0 version of Linux. I tried setting up Squid3
using COSS for the following configuration in squid.conf

cache_dir coss /usr/local/squid/var/cache/coss 100 block-size=512
max-size=1000

With this I got an error in CossSwapDir::init function 161,
store_dir_coss.cc, that unable to open file, it is a directory. If I
replace the configuration with a file name instead of the directory,
then there was an error that unable to create the swap file. Is there
any other setting that I need to take care of?

I then hardcoded the filename just before the call to file_open just to
see if things are working and then the proxy came up. However, there
were consistent assert fails in the following place

2004/04/30 09:55:22.843| storeUnlockObject: key
'B82E322244D1C35D7DD85291840EA7DA' count=4
2004/04/30 09:55:22.843| cbdataFree: 0x852cc38
2004/04/30 09:55:22.843| assertion failed: cbdata.cc:118: "cookie ==
((long)this ^ Cookie)"
(I can send the logs if required). This happens whenever, the system
tries to swap, by creating a Stripe in COSS and flushing the data to it.
Till then everything is fine.

THis happens in a call to cbdataFree in storeCossIOCallback of
store_io_coss.cc line no 494. Is this something due to the cookie
getting an overlapping value.

The cbdataFree is called for a CossState object. I tried removing the
call to the free and logged the delete function of the CossState object.
Even by not calling the cbdataFree, delete does get called during 
2004/05/01 14:27:08.905| StoreIOState::~StoreIOState: 0x852cfa8

Is there any specific reason for doing an explicit cbdataFree?

Thanks,
TV



Development for COSS

2004-04-28 Thread TV Sriram
Hi,
 I have worked with Store interactions in proxy for some time. I found
this project in http://devel.squid-cache.org/coss/index.html to be very
interesting. I would like to get developer access to this project.
 My SourceForge ID is tvsriram

Thanks,
TV


Re: Design Docs?

2004-04-22 Thread TV Sriram

> Not beyond the (incomplete) programmers guide.

The following link seem to indicate some work started in this regard,
but the content links are broken
http://goanna.cs.rmit.edu.au/~xiali/study/squiduml/
Dont know if this is hosted somewhere else. 

We would like to know how to create a development project associated
with squid. If there is an existing
 link that can give this information, that would be very helpful.

If we can get hold of the documents in the broken link, then we have
enough information to start with. I 
am trying to contact the person associated with the broken link and
hope to get the required information.

Updates to this documentation will be of immense help to the community
and especially to newcomers like me.

Regards,
TV


Re: Design Docs?

2004-04-21 Thread TV Sriram
 We are in the process of preparing design documentation as part of our
learning process. If there is any existing document project, then we can
as-well start from there.


>>> Leeann BENT <[EMAIL PROTECTED]> 4/22/2004 10:30:52 AM >>>

Say - Are there any design documents on Squid3 anywhere? Anything
like class diagrams, sequence diagrams, etc.




Introduction and Subscribe

2004-04-19 Thread TV Sriram
Hi,
To introduce myself, I am T.V.Sriram (TV), working for Novell Inc, a
leading provider of Net Business Solutions.

As a company, Novell is endorsing Open Source over Proprietary
business. Going forward, we will be building solutions based on Open
Source and contributing the value adds back.

As Novell is interested in Web Access Management Solution, Squid - the
best in the Open Source arena for proxy, can play a major role in the
solution. To start with, we are interested in evaluating, testing and
actively contributing to Squid in different areas. Going forward, Novell
can have Squid as part of its solutions.

I have working knowledge on proxy, especially in the area of store
interaction, connection management and authentication. As I am new to
Squid, by subscribing I can take the help of the community in
understanding Squid. With better knowledge and understanding, would like
to contribute to squid in similar areas.

Regards,
TV

Software Consultant
Novell Software Development (I) Pvt Ltd.,
Bangalore.
Novell, Inc., the leading provider of Net business solutions
www.novell.com