> Source: [sk185242](https://support.checkpoint.com/results/sk/sk185242)

# sk185242 - "cphwd_api_q_choose_q: qid is invalid" messages appear in /var/log/messages

| Property | Value |
|----------|-------|
| Solution ID | sk185242 |
| Date Created | 2026-08-06 |
| Last Modified | 2026-08-11 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82 |
| OS | Gaia |
| Platform | Open Server |

## Symptoms

- The following kernel messages appear in /var/log/messages on the Security Gateway: cphwd_api_q_choose_q: qid is invalid, qid from hash:0) kernel:cphwd_api_q_choose_q: qid is invalid, qid from hash:1) The messages may appear repeatedly during traffic transmission. The Security Gateway continues to operate normally and pass traffic.

## Cause

These messages indicate that one or more Secure Network Distributors (SNDs) changed state during traffic processing.  

During traffic processing, the system can select a queue associated with a specific SND. If that SND becomes inactive, the system automatically selects an active SND and continues processing traffic.  

This behavior is expected and handled internally by the system. The messages are cosmetic and do not indicate a functional issue.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
