[CentOS] Desperately need help with multi-core NIC performance

2010-02-24 Thread Pete Kay
Hi,

I am running a VOIP application on Centos 5.3.  It is a 16 core box
with 12 G of mem and all what it does is passing packets.

What happens is that at around 2K channels running g711 ( 64k) codec,
all eth0 is used up and no more traffic can go through.

I have checked google and it talked about interrupt scheduler.

does anyone know how to configure the kernel to allow it to use all
CPSs for socket transmission of UDP packets?

Any pointer will be greatly appreciated.

pete
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] attack

2009-12-24 Thread Pete
On Thu, 2009-12-24 at 11:31 +, Manu Verhaegen wrote:
> Hi,
> 
> My server is under attack allows the attacker to abuse of a php script of a 
> vhost. How can I find what is the script.
> 
> Regards,
>   maverh

Hi Maverh,

I know this may sound like a silly question but how do you know your
server is under attack ? As others have advised, have you checked your
logs on the server ? What are you running that's being attacked ?

/var/log/httpd

/var/log/messages


Regards,

Pete.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with running Centos 5.2 on Dell Optiplex 330

2008-09-08 Thread Pete Kay
Hi,
 Thank you in advance for your help.  Here is the lspci output.  Any help on
getting the networking to work on Dell Optiplex will be greatly appreciated.


 [EMAIL PROTECTED] etc]# /sbin/lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM
Controller (rev 0a)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express
Root Port (rev 0a)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express
Integrated Graphics Controller (rev 0a)
00:02.1 Display controller: Intel Corporation 82G33/G31 Express Integrated
Graphics Controller (rev 0a)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition
Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
1 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface
Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller
(rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA
AHCI Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev
01)
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787 Gigabit
Ethernet PCI Express (rev 02)
[EMAIL PROTECTED] etc]#
 [EMAIL PROTECTED] etc]#
[EMAIL PROTECTED] etc]# cat /var/log/messages |grep tg3
Sep  8 20:54:58 localhost kernel: tg3.c:v3.86 (November 9, 2007)
Sep  8 20:57:08 localhost kernel: tg3.c:v3.86 (November 9, 2007)
Sep  8 23:37:21 localhost kernel: tg3.c:v3.86 (November 9, 2007)
[EMAIL PROTECTED] etc]#
  On Mon, Sep 8, 2008 at 3:46 PM, Mogens Kjaer <[EMAIL PROTECTED]> wrote:
> Pete Kay wrote:
>> Hi,
>>
>> It looks like TG3, the broadcom driver, is already installed on Centos
>> 5.2.  Does anyone know why the network is still not working?  I am
>> very stuck in trying to get the Dell Optiplex to work.
>
> You need to provide more information.
>
> What is the output of the command lspci?
>
> What gets logged in /var/log/messages when the tg3 driver is loaded?
>
> Mogens
> --
> Mogens Kjaer, Carlsberg A/S, Computer Department
> Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
> Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
> Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with running Centos 5.2 on Dell Optiplex 330

2008-09-08 Thread Pete Kay
Hi,

It looks like TG3, the broadcom driver, is already installed on Centos
5.2.  Does anyone know why the network is still not working?  I am
very stuck in trying to get the Dell Optiplex to work.


Any help will be greatly appreciated.

Thanks,
Pete

On Mon, Sep 8, 2008 at 2:36 AM, NiftyClusters Mitch
<[EMAIL PROTECTED]> wrote:
> On Sun, Sep 7, 2008 at 7:29 AM, nate <[EMAIL PROTECTED]> wrote:
>> Pete Kay wrote:
>>> Hi,
>>>
>>> I am havind deep trouble with a bunch of our newly arrived Optiplex
>>> 330 as it can't run Centos 5.2 property.
>>>
> ..
>>>
>>> Does anyone know how I can fix this problem?
>>
>> It's quite possible the network driver isn't compatible with
>> the system. Looking at the support site for Dell that system
>> isn't supported with Linux, and it looks like it has a pretty
>> new broadcom chip on it.
>>
>> I'd bet that updating the driver will allow the NIC to work,
>> the latest drivers for that system are available.
>
> The quick and handy way to do this is to pick up an inexpensive USB
> ethernet link or other ether net card.   After a yum update to a new
> kernel you may well have a driver that works.
>
> If a yum update does not update the driver, you have enough
> connectivity to download then install vendor bits and tools.
>
> This is the trick I have used for a number of early access Intel
> 'engineering' boxes.
> It lets me kickstart to a lab configuration and connect long enough to
> add the updated driver.  I can save all the fun new bits and script up
> the driver update into a single dir to copy from one to the next.
> Then burn that dir of bits to a CDROM...
>
> If you are shopping, the older the USB ethernet device the more likely
> it is to work.
>
> --
>  NiftyCluster
>  T o m M i t c h e l l
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with install Boardcom driver

2008-09-07 Thread Pete Kay
Hi,

I have to install Broadcom driver because the  Dell Optiplex 330
running Centos 5.2 is not able to connect to the network.


I am trying to install a Broadcom driver, but I get the followng error:

[EMAIL PROTECTED] tg3-3.85l]#
[EMAIL PROTECTED] tg3-3.85l]# make
make -C /lib/modules/2.6.18-92.el5/build
SUBDIRS=/usr/src/Server/Linux/Driver/tg3-3.85l modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
  CC [M]  /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o
In file included from /usr/src/Server/Linux/Driver/tg3-3.85l/tg3.c:85:
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:234: error: redefinition
of 'skb_transport_offset'
include/linux/skbuff.h:1006: error: previous definition of
'skb_transport_offset' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:239: error: redefinition
of 'ip_hdr'
include/linux/ip.h:109: error: previous definition of 'ip_hdr' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:244: error: redefinition
of 'ip_hdrlen'
include/net/ip.h:48: error: previous definition of 'ip_hdrlen' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:249: error: redefinition
of 'tcp_hdr'
include/linux/tcp.h:169: error: previous definition of 'tcp_hdr' was here
/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.h:254: error: redefinition
of 'tcp_optlen'
include/linux/tcp.h:179: error: previous definition of 'tcp_optlen' was here
make[2]: *** [/usr/src/Server/Linux/Driver/tg3-3.85l/tg3.o] Error 1
make[1]: *** [_module_/usr/src/Server/Linux/Driver/tg3-3.85l] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5-x86_64'
make: *** [default] Error 2
[EMAIL PROTECTED] tg3-3.85l]#

Does anyone know how to resolve this problem?

Many thanks in advance for all your help.

Regards,
Pete
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with running Centos 5.2 on Dell Optiplex 330

2008-09-07 Thread Pete Kay
Hi,

I am havind deep trouble with a bunch of our newly arrived Optiplex
330 as it can't run Centos 5.2 property.

The installation works fine, but when it boots up, it can't be
connected to the network.  I am getting error saying " link is not
ready" when doing system-config-network.  I check lspci and it can
detect the network controller no problem.  The light next to the cable
is also on as well.

Does anyone know how I can fix this problem?

We should have bought just one and see if it works before buying more,
and now we are stuck.

Could someone please kindly give any suggestion?  Any help will be
greatly appreciated.

Best Regards,
Pete
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shearing file systems on the network

2008-01-24 Thread Pete Geenhuizen



Joshua Baker-LePain wrote:

On Thu, 24 Jan 2008 at 11:01am, Peter Blajev wrote

I have 4 systems and each one of them has a partition I'd like to be 
remotely

accessible on the other 3 systems.

In other words System1 has Partition1. Systems 2,3,4 should be able to
remotely mount Partition1 from System1. Also System2 has Partition2. 
Then
systems 1,3,4 should be able to remotely mount Partition2 from 
System2 and so

on.

I tried NFS and it works but only in the ideal world. If one of the 
systems

goes down the whole NFS cross-mounting makes the other systems somewhat
unstable. It's a known issue and I believe you guys are aware of it 
but I

just had to see it myself.

What would you recommend? What is the best practice for doing that?


NFS and automount.


I what I'm using and it works just fine.

--
Unencumbered by the thought process.  
-- Click and Clack the Tappet brothers


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /etc/passwd aand /etc/shadow out of sync on 4.6 box

2008-01-07 Thread Pete Geenhuizen



On Sun, January 6, 2008 23:12, Joe Klemmer wrote:
> On Sun,
2008-01-06 at 00:39 -0800, Garrick Staples wrote:
> 
>
Rock-n-roll, man.  That did the trick.  You know, there would probably
> be use for a tool that checked the files and made sure they weren't
out
> of sync.  Isn't pam supposed to have that capability?  I
have avoided
> reading/learning anything about it for years.  And
I mean YEARS.  Maybe
> I'll take a peek and see what's in there. 
And maybe I'll get off my @$$
> and figure out Bind/DNS.
>

>   Right.  And maybe Microsoft will change the licensing for
Windows to
> GPL.
> 
> Anyway, thanks much,
> Joe

man pwck
-- 
Unencumbered by the thought
process.
-- Click and Clack, the Tappet Brothers.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


<    1   2   3   4   5