Hi Daniel,
How is the switch configured?
Could it be flooding PF with snmp traps?
What does tcpdump show coming from the switch or going to it?
And for the record, what type of switch is it?
Can you share your switches.conf?
Regards,
--
Louis Munro
[email protected] :: www.inverse.ca
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
On Apr 27, 2015, at 16:02 , Muller, Daniel (HEALTH)
<[email protected]> wrote:
> [Daniel V Muller]
>
> Thanks for the tip about packetfence-config
>
> I have my configuration pared down to something very minimal that triggers
> this issue but I still can't tell if it is something in PF, the Cisco
> configuration or out on the router.
>
> I can walk the switch from PF.
>
> PF is receiving the trap.
>
> I have just a single switch that I would like to add to my test server,
> adding this single switch in test mode causes the issue with pfsetvlan using
> 100% of a CPU.
>
> When I add the switch I see these logs in logs/packetfence.log:
> Apr 27 15:45:21 pfsetvlan(6) INFO: Memory configuration is not valid anymore
> for key config::Switch in local cached_hash (pfconfig::cached::is_valid)
> Apr 27 15:45:21 pfsetvlan(1) INFO: nb of items in queue: 1; nb of threads
> running: 0 (main::startTrapHandlers)
> Apr 27 15:45:21 pfsetvlan(1) INFO: Memory configuration is not valid anymore
> for key config::Switch in local cached_hash (pfconfig::cached::is_valid)
>
>
> Here is my innodb status I'm not sure if that helps, currently not seeing the
> deadlocks:
> | InnoDB | |
> =====================================
> 150427 16:00:47 INNODB MONITOR OUTPUT
> =====================================
> Per second averages calculated from the last 0 seconds
> ----------
> SEMAPHORES
> ----------
> OS WAIT ARRAY INFO: reservation count 64, signal count 64
> Mutex spin waits 0, rounds 371, OS waits 11
> RW-shared spins 89, OS waits 44; RW-excl spins 7, OS waits 7
> ------------
> TRANSACTIONS
> ------------
> Trx id counter 0 169340563
> Purge done for trx's n:o < 0 169340479 undo n:o < 0 0
> History list length 9
> LIST OF TRANSACTIONS FOR EACH SESSION:
> ---TRANSACTION 0 0, not started, process no 1540, OS thread id 140543808202496
> MySQL thread id 2656, query id 14855 localhost root
> show innodb status
> ---TRANSACTION 0 169340481, not started, process no 1540, OS thread id
> 140543807403776
> MySQL thread id 2651, query id 14618 localhost pkfn
> ---TRANSACTION 0 0, not started, process no 1540, OS thread id 140543614461696
> MySQL thread id 2641, query id 14613 localhost pkfn
> ---TRANSACTION 0 0, not started, process no 1540, OS thread id 140543745582848
> MySQL thread id 2639, query id 14573 localhost pkfn
> ---TRANSACTION 0 169340463, not started, process no 1540, OS thread id
> 140543807670016
> MySQL thread id 2638, query id 14854 localhost pkfn
> ---TRANSACTION 0 169340562, not started, process no 1540, OS thread id
> 140543613396736
> MySQL thread id 2637, query id 14850 localhost pkfn
> ---TRANSACTION 0 169340561, not started, process no 1540, OS thread id
> 140543746115328
> MySQL thread id 2636, query id 14849 localhost pkfn
> ---TRANSACTION 0 169340560, not started, process no 1540, OS thread id
> 140543746381568
> MySQL thread id 2635, query id 14848 localhost pkfn
> ---TRANSACTION 0 169340559, not started, process no 1540, OS thread id
> 140543613662976
> MySQL thread id 2634, query id 14846 localhost pkfn
> ---TRANSACTION 0 169340558, not started, process no 1540, OS thread id
> 140543613130496
> MySQL thread id 2633, query id 14845 localhost pkfn
> --------
> FILE I/O
> --------
> I/O thread 0 state: waiting for i/o request (insert buffer thread)
> I/O thread 1 state: waiting for i/o request (log thread)
> I/O thread 2 state: waiting for i/o request (read thread)
> I/O thread 3 state: waiting for i/o request (write thread)
> Pending normal aio reads: 0, aio writes: 0,
> ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
> Pending flushes (fsync) log: 0; buffer pool: 0
> 177 OS file reads, 4591 OS file writes, 4374 OS fsyncs
> 0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
> -------------------------------------
> INSERT BUFFER AND ADAPTIVE HASH INDEX
> -------------------------------------
> Ibuf: size 1, free list len 5, seg size 7,
> 0 inserts, 0 merged recs, 0 merges
> Hash table size 17393, node heap has 6 buffer(s)
> 0.00 hash searches/s, 0.00 non-hash searches/s
> ---
> LOG
> ---
> Log sequence number 1 730129680
> Log flushed up to 1 730129680
> Last checkpoint at 1 730129680
> 0 pending log writes, 0 pending chkp writes
> 4289 log i/o's done, 0.00 log i/o's/second
> ----------------------
> BUFFER POOL AND MEMORY
> ----------------------
> Total memory allocated 20638152; in additional pool allocated 1048576
> Dictionary memory allocated 235200
> Buffer pool size 512
> Free buffers 316
> Database pages 190
> Modified db pages 0
> Pending reads 0
> Pending writes: LRU 0, flush list 0, single page 0
> Pages read 178, created 12, written 342
> 0.00 reads/s, 0.00 creates/s, 0.00 writes/s
> No buffer pool page gets since the last printout
> --------------
> ROW OPERATIONS
> --------------
> 0 queries inside InnoDB, 0 queries in queue
> 1 read views open inside InnoDB
> Main thread process no. 1540, id 140543578629888, state: sleeping
> Number of rows inserted 2586, updated 1343, deleted 2240, read 59741
> 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
> ----------------------------
> END OF INNODB MONITOR OUTPUT
> ============================
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users